LEFT OUTER JOIN Syntax
SELECT YourColumnName FROM YourTableName
LEFT OUTER JOIN InnerTableName ON InnerTableName.Column = YourTableName.Column
Example
SELECT * FROM City
LEFT JOIN Country ON Country.CountryID = City.CountryIDF
OR
SELECT * FROM City
LEFT OUTER JOIN Country ON Country.CountryID = City.CountryIDF
SELECT YourColumnName FROM YourTableName
LEFT OUTER JOIN InnerTableName ON InnerTableName.Column = YourTableName.Column
Example
SELECT * FROM City
LEFT JOIN Country ON Country.CountryID = City.CountryIDF
OR
SELECT * FROM City
LEFT OUTER JOIN Country ON Country.CountryID = City.CountryIDF
No comments:
Post a Comment