course_No>100on后面

select a.student_Name,b.course_No,b.course_Des,b.course_Name

from result_Info a left outer join course_Info b

on a.course_Name=b.course_Name and course_No>100

主表:无论满不满足条件全部显示

从表:满足条件的显示数据,不满足条件的填充为NULL

不同的位置,不同的结果——左外连接

course_No>100where后面

select a.student_Name,b.course_No,b.course_Des,b.course_Name

from result_Info a left outer join course_Info b

on a.course_Name=b.course_Name

where course_No>100

主表和从表都是只有满足条件才显示

不同的位置,不同的结果——左外连接

相关文章:

  • 2021-06-08
  • 2021-08-12
  • 2022-12-23
  • 2022-01-01
  • 2021-12-18
  • 2022-02-07
  • 2022-01-29
猜你喜欢
  • 2022-12-23
  • 2021-07-21
  • 2021-09-29
  • 2021-11-25
  • 2022-02-19
  • 2022-12-23
  • 2022-01-08
相关资源
相似解决方案