View Single Post
Old 04-02-2009, 10:04 PM   #1 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default SQL code...if NOT....

Ok, is there any way to make this query better? It seems like I should be able to somehow use less "AND"...



Code:
SELECT * FROM users WHERE user_id != '5' AND user_id != '6' AND user_id != '9' AND user_id != '3';
allworknoplay is offline  
Reply With Quote