join等价于inner join内连接,是返回两个表中都有的符合条件的行。

left join左连接,是返回左表中所有的行及右表中符合条件的行。(左表为主表)

right join右连接,是返回右表中所有的行及左表中符合条件的行。(右表为主表)

full join全连接,是返回左表中所有的行及右表中所有的行,并按条件连接。

通常情况下,left join肯定比inner join返回的行数多。

相关文章:

  • 2021-08-31
  • 2021-09-13
  • 2022-02-15
  • 2021-07-31
  • 2021-08-26
猜你喜欢
  • 2022-01-04
  • 2021-12-24
  • 2021-10-26
  • 2021-04-24
  • 2021-05-28
相关资源
相似解决方案