How do I join all in one sql table and with first occurence from another table, keeping all from first table

前端 未结 0 1141
滥情空心
滥情空心 2021-01-02 18:54

Following SQLite (android Room) query:

select  gi.*, o.* 
from orders as o
left join galleryitems as gi on gi.siteId = o.siteId 
order by orderId asc
<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题