■ LEFT OUTER JOIN절을 사용하는 방법을 보여준다.
▶ 예제 코드 (SQL)
1 2 3 4 5 6 7 8 9 |
SELECT A.StudentID ,A.StudentName ,A.SchoolID ,B.SchoolName FROM Student AS A LEFT OUTER JOIN School AS B ON B.SchoolID = A.SchoolID; |
■ LEFT OUTER JOIN절을 사용하는 방법을 보여준다.
▶ 예제 코드 (SQL)
1 2 3 4 5 6 7 8 9 |
SELECT A.StudentID ,A.StudentName ,A.SchoolID ,B.SchoolName FROM Student AS A LEFT OUTER JOIN School AS B ON B.SchoolID = A.SchoolID; |