Here's sample SQL Full Outer Join code from w3schools:
SELECT column_name
FROM table1
FULL OUTER JOIN table2
ON table1.column_name=table2.column_name;
Testing it in online validators (https://www.piliapp.com/mysql-syntax-check/ and https://www.eversql.com/sql-syntax-check-validator/) throws an error:
You have an error in your SQL syntax; it seems the error is around: 'OUTER JOIN table2 ON table1.column_name = table2.column_name' at line 5
w3resource has this sample SQL code:
SELECT *
FROM table1
FULL OUTER JOIN table2
ON table1.column_name=table2.column_name;
Sample code found on SO is pretty much the same code and throws the same error in the validators and on my dev system.
- Does that make any sense?
- What is the correct SQL for this?