關於sql 多個left_join ,查詢結果可做爲表哦

select * from a left join b on a.abid = b.baid left join c on c.cbid = b.bcid 把括號裏面當成一個表的數據, 注意必定要別名 後面的a 就是這表的別名web select * from (select * form kk where id=2) a where type=2
相關文章
相關標籤/搜索