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?
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: