圖解SQL的inner join、left join、right join、full outer join、union、union all的區別

圖解SQL的inner join、left join、right join、full outer join、union、union all的區別 假設我們有兩張表。Table A 是左邊的表。Table B 是右邊的表。其各有四條記錄,其中有兩條記錄name是相同的,如下所示:讓我們看看不同JOIN的不同 1.INNER JOIN SELECT * FROM TableA INNER JOIN T
相關文章
相關標籤/搜索