FULL
FULL in SQL refers to a type of JOIN which returns all records when there is a match in either left (table1) or right (table2).
Example
Output
Explanation
In the code given, the CONCAT_WS function was used to concatenate the FirstName and LastName columns from the Employees table with a space separating them. The result was stored in a new column called FullName. The output included the table showing the full names of employees.
Example
Output
Explanation
The FULL OUTER JOIN keyword returns all records when there is a match in either left (Employee) or right (Department) table records. In instances where there is no match, the result is NULL on either side. In this example, ‘Clara’ does not belong to any department and ‘Human Resources’ does not have any employee.
Example
Output
Explanation
The FULL OUTER JOIN keyword in Oracle is used to combine the results of both left and right outer joins. The resultant table will include records from both the tables. If there is no match, the result is NULL on either side.