SQL Cheat Sheet - JOIN Statements
SQL Cheat Sheet - JOIN Statements
Joins
SELECT column_name(s)
The LEFT OUTER JOIN
will return all records select
Left FROM table1 LEFT OUTER
from the left side table E.EMP_ID,E.L_NAME,E.DEP_ID,D.DEP_NAME
JOIN table2 ON
Outer from EMPLOYEES AS E LEFT OUTER JOIN
table1.column_name = and the matching DEPARTMENTS AS D ON
Join table2.column_name WHERE records from the right E.DEP_ID=D.DEPT_ID_DEP;
condition;
table.
about:blank 1/2
11/28/24, 2:10 AM about:blank
Author(s)
D.M Naidu
about:blank 2/2