Hi, I seem to have the same problem as tekdenied, only thing is, i do not use 1, 2, 3 or 4... What basicly happens is, i need to get user names from a table. But the IRCs table has two columns which use user id's, and i need to return different user names from the users table...
This is the code im using now...
Any help would be much appreciated.
This is the code im using now...
Code:
SELECT dbo.TBL_USERS.USER_NAME AS ASSIGNED_USER_NAME,
dbo.TBL_USERS.USER_NAME AS RAISED_USER_NAME
FROM TBL_IRCS,
TBL_USERS
WHERE USER_ID = IRC_RAISED_BY
AND USER_ID = IRC_ASSIGNED_TO
Any help would be much appreciated.