Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 387 Bytes

File metadata and controls

9 lines (5 loc) · 387 Bytes

Left/Right join

LEFT JOIN 关键字会从左表 (table_name1) 那里返回所有的行,即使在右表 (table_name2) 中没有匹配的行.

例子

RIGHT JOIN 关键字会右表 (table_name2) 那里返回所有的行,即使在左表 (table_name1) 中没有匹配的行.

例子