in the database records are on the right side code example
Example: sql right join
SELECT *
FROM table_1
RIGHT JOIN table_2
ON table_1.common_field = table_2.common_field;
SELECT *
FROM table_1
RIGHT JOIN table_2
ON table_1.common_field = table_2.common_field;