I'm trying to get an application working, and an error is being thrown when trying to process this query..
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near 'users'.
The problem is
SELECT DISTINCTROW First(users.nickname) AS nickname,
the users.nickname isn't being recognized. If I run the query in query analyzer it recognizes all the columns that are from items, but not from users, and I think its because the FROM statement only says from items, so the column nickname from users doesn't compute..
I'm not quite sure how to rewrite the query though, i think the inner join needs to be part of the FROM clause
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near 'users'.
The problem is
SELECT DISTINCTROW First(users.nickname) AS nickname,
the users.nickname isn't being recognized. If I run the query in query analyzer it recognizes all the columns that are from items, but not from users, and I think its because the FROM statement only says from items, so the column nickname from users doesn't compute..
I'm not quite sure how to rewrite the query though, i think the inner join needs to be part of the FROM clause