Geat
07-01-2003, 03:27 AM
I've got a lookup table that contains a list of module ids linked to user ids, and a module table that contains a list of all available modules.
I would like to, in one select statement, select everything from the module table that isn't in the lookup table for the current user.
In pseudo-sql, that's:
SELECT * FROM module m WHERE [(module_lookup.id=m.id AND user_id=current_user) doesn't exist].
I guess it's possible...
I would like to, in one select statement, select everything from the module table that isn't in the lookup table for the current user.
In pseudo-sql, that's:
SELECT * FROM module m WHERE [(module_lookup.id=m.id AND user_id=current_user) doesn't exist].
I guess it's possible...