• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
July 08, 2022 |140 Views
Full Join
  Share   Like
Description
Discussion

FULL JOIN creates the result-set by combining results of both LEFT JOIN and RIGHT JOIN. The result-set will contain all the rows from both tables. For the rows for which there is no matching, the result-set will contain NULL values.

SELECT table1.column1,table1.column2,table2.column1,....
FROM table1 
FULL JOIN table2
ON table1.matching_column = table2.matching_column;


table1: First table.
table2: Second table
matching_column: Column common to both the tables.


Full Join : https://www.geeksforgeeks.org/sql-join-set-1-inner-left-right-and-full-joins/

Read More