Tekime
Registered User.
- Local time
- Today, 09:44
- Joined
- Jun 26, 2003
- Messages
- 72
Been hunting for the answer and I thought I had the solution at one point but I could not get any output. Any help would be highly appreciated.
I have three tables:
tbl_Users
tbl_Rights
tbl_Users_Rights
I need to select rightId and right_name from tbl_Rights where there are no entries in Users_Rights with a specified userId.
As in, userId 123 has a record in Users_Rights for rightId 1 and 2, but not three. I need the query to return rightId 3 and its associated right_name when I specify userId 123.
I can post more details if needed, thanks a bunch.
I have three tables:
tbl_Users
tbl_Rights
tbl_Users_Rights
I need to select rightId and right_name from tbl_Rights where there are no entries in Users_Rights with a specified userId.
As in, userId 123 has a record in Users_Rights for rightId 1 and 2, but not three. I need the query to return rightId 3 and its associated right_name when I specify userId 123.
I can post more details if needed, thanks a bunch.