Thanks again guys! Lars Berg, the SQL statement was fine...Now, i discovered i need something a lil' different since the groups_access_rights.Group_ID is not a primary key, meaning that there can be different values such as 'admin', 'support', 'hr'. The earlier statement would not have returned the results if in rights_description it exists, but in groups_access_rights, the Group_ID exists under a different name, e.g. 'hr'.
I'd like to get rights_description.Rights_ID that exists in rights_description AND groups_access_rights.Group_ID != 'admin'...
Tried:
SELECT rights_description.Rights_ID
FROM rights_description
left join groups_access_rights
on rights_description.Rights_ID = groups_access_rights.Rights_ID
WHERE groups_access_rights.Group_ID != 'admin'
AND groups_access_rights.Rights_ID is null
but not the right one either..gotta learn more on inner, outer, left, right table joins. Thanks for ur help n time. And yeah, Happy Chinese New Year 2 those who celebrate it 😃