Jump to content

SELECT * FROM users WHERE Users are not in Blocked


brown2005

Recommended Posts

SQL query:  

SELECT * 
FROM users
WHERE user_id NOT 
IN (


SELECT blocked_blocked
FROM blocked
)
ORDER BY user_name AS 
LIMIT 0 , 30 

MySQL said:  

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS 
LIMIT 0, 30' at line 1 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.