Skip to content
Sign in
FPSC CSS Computer Science Past Paper 15-10-2023 FPSC

Which type of join returns all rows from both tables, matching rows from the left table, and NULL values for non-matching rows from the right table?

Tap an option to check the answer. You can also press A–D.

Explanation
Left Join: Returns all rows from the left table and the matched rows from the right table. If there is no match, the result is NULL on the side of the right table. In SQL, the syntax for a left join would look like this: