Lets say I have two tables Phone and Color
So on the Phone table in contains PhoneID,make,colorID
And on the color table it contains colorID, colorname
The two colorIDs are linked with a FK, but it is possible for a Phone to have a blank colorID
If I want to display a table that has PhoneID,make,colorname even if it hasn't got a colorID
So I have got a query like this
SELECT [PhoneID], [make], [colorID], FROM [Phone]
INNER JOIN [Color]
ON Phone.colorID = [color].[colorID];
But I want it to display all results even if it doesn't have a colorID and I want it to display the colorname instead of the colorID.
I am a bit confused on how to do this Thanks