full outer join sql
snippet in sql

full outer join sql

user7228


 SELECT column_name(s)

 FROM table1

 FULL OUTER JOIN table2
 ON table1.column_name = table2.column_name

  WHERE condition; 

full outer join sql

user2698

SELECT C.FirstName, C.LastName, C.Country AS CustomerCountry,        S.Country AS SupplierCountry, S.CompanyName  FROM Customer C FULL JOIN Supplier S     ON C.Country = S.Country ORDER BY C.Country, S.Country