Home > Database > Mysql Tutorial > mysql中的leftjoin,rightjoin_MySQL

mysql中的leftjoin,rightjoin_MySQL

WBOY
Release: 2016-06-01 12:59:03
Original
1183 people have browsed it

left (outer) join:左表为主,包含左表的所有行,右表满足记录的数据列出

right (outer) join:右表为主,包含右表的所有行,左表满足记录的数据列出

cross join:笛卡尔积(所有可能的行组合)。

inner join:满足连接条件的cross组合。

full outer join:left outer 和 right outer所有行的超集。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template