多個表關聯的查詢語句

select a.*,(select table1 .name from table1 where table1.id=a.table1ID) from table as atable

select a.*,b.* from table as a,table1 as b where a  b.id=a.table1IDselect

select a.* ,b.* from table as a left join table1 as b on b.id=a.table1IDtab

相關文章
相關標籤/搜索