左联和右联都属于外联,在前说明的是左表,在后说明的是右表。 如果需要左表所有记录,就称为左连, LEFT OUTER JOIN 如果需要右表所有记录,就称为右联,RIGHT OUTER JOIN SELECT ...字段... FROM 左表 LEFT/RIGHT OUTER JOIN 右表 WHERE 连接字段
共同拥有的:
详情