You need to sign in to do that
Don't have an account?

Names corresponding to each OwnerID
Hi All,
I need to find out the Names Corresponding to each OwnerID in the SQL server database.
Whoch table I should use to gte the desired results?
I need to find out the Names Corresponding to each OwnerID in the SQL server database.
Whoch table I should use to gte the desired results?
All Answers
FROM Opportunity o
INNER JOIN User u ON u.ID = o.OwnerID
it is throwing me the following error-
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'User'.