inner join 是内连接,where 是条件判断语句,用where语句可以实现内连接的功能,但区别在于where 语句还可以加上其他条件,而inner join则不可以了。
例如:
select a.*,b.* from a inner join b on a.id = b.id
等同于
select a.*,b.* from a,b where a.id = b.id
但如果用语句二的还可以接着写条件,语句一则要新添where语句

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
  • 2022-12-23
  • 2021-08-03
  • 2021-07-08
猜你喜欢
  • 2022-03-08
  • 2021-11-22
  • 2021-11-01
  • 2021-09-05
  • 2021-10-25
  • 2022-12-23
相关资源
相似解决方案