* Simon Green > Sorry I should have made this a bit clear. > I have to tables with users names in them. > All I need is a list on the Usernames that are in one column but not the > other.
SELECT table1.Username FROM table1 LEFT JOIN table2 ON table1.Username = table2.Username WHERE ISNULL(table2.Username); -- Roger sql --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php