Sorry everone but I 'm having a hard time with joins


How do I add this clause:

users.uid = selection.user_uid     from table selection 

to this query:

$sql = "SELECT users.uid, users.username
FROM users LEFT JOIN picks
ON users.uid = picks.user_id 
WHERE picks.user_id IS NULL

Thank You.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to