left join trong sql code example
Example 1: sql right join
SELECT *
FROM table_1
RIGHT JOIN table_2
ON table_1.common_field = table_2.common_field;
Example 2: left join
Matching part from both table and unmatching part from left table.
SELECT *
FROM table_1
RIGHT JOIN table_2
ON table_1.common_field = table_2.common_field;
Matching part from both table and unmatching part from left table.