1SELECT *
2FROM table_1
3RIGHT JOIN table_2
4ON table_1.common_field = table_2.common_field;
1#The RIGHT JOIN keyword Return all rows from the right table (table_name2), even if there are no
2#matches in the left table (table_name1).
3syntax->SELECT column_name(s)
4FROM table_name1
5RIGHT JOIN table_name2
6ON table_name1.column_name=table_name2.column_name
7////example////
8SELECT Persons.LastName, Persons.FirstName, Orders.OrderNo
9FROM Persons
10RIGHT JOIN Orders
11ON Persons.P_Id=Orders.P_Id
12ORDER BY Persons.LastName
13
1SELECT table1.column1, table2.column2...
2FROM table1
3RIGHT JOIN table2
4ON table1.common_field = table2.common_field;
1123SELECT columns FROM table_A LEFT JOIN table_B ON join_conditionsXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX