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

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

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

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