mysql錶鏈接總結

1. 內鏈接(天然鏈接) 2. 外鏈接 (1)左外鏈接 (左邊的表不加限制) (2)右外鏈接(右邊的表不加限制) (3)全外鏈接(左右兩表都不加限制) 3. 自鏈接(同一張表內的鏈接) SQL的標準語法: select table1.column,table2.column from table1 [inner | left | right | full ] join table2 ontable
相關文章
相關標籤/搜索