MYSQL数据库笔记十(JOIN)

 MYSQL数据库笔记十(JOIN)

1、

select * from tb_emp;

select * from tb_dept;

select * from tb_emp,tb_dept;

MYSQL数据库笔记十(JOIN)

select * from tb_emp a inner join tb_dept b on a.deptid = b.id;

MYSQL数据库笔记十(JOIN)

相关文章:

  • 2021-11-07
  • 2021-05-05
  • 2021-10-08
  • 2021-07-19
  • 2021-04-17
  • 2021-05-11
  • 2021-04-01
  • 2021-05-12
猜你喜欢
  • 2021-07-20
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2021-05-26
相关资源
相似解决方案