How do you select somthing, while comparing it to another table and seeing if it appears in there ?
For example, i have :
SELECT username FROM phpbb_users WHERE username LIKE 'omega%' LIMIT 0, 30
In pesudocode code i want :
SELECT username FROM phpbb_users WHERE username LIKE 'omega%' AND WHERE username does not appear in table 'omega_members'
I guess somthing like
SELECT username FROM phpbb_users WHERE username LIKE 'omega%' AND WHERE username ! (APPEAR ?!) 'omega_members'
Whats the SQL for somthing like APPEAR ? (thats not a valid SQL syntax)
Hope that makes sence...
Thanks