vegnadragon Posted January 23, 2008 Share Posted January 23, 2008 Is there anyway to select all expect some, like select * from where id not = 2, or something like that Link to comment https://forums.phpfreaks.com/topic/87428-expection/ Share on other sites More sharing options...
wsantos Posted January 23, 2008 Share Posted January 23, 2008 Yes. SELECT * FROM table WHERE ID != variable; or SELECT * FROM table1 WHERE ID NOT IN (SELECT * FROM table2) .... and many more Link to comment https://forums.phpfreaks.com/topic/87428-expection/#findComment-447164 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.