YoungNate_Black_coder Posted July 14, 2011 Share Posted July 14, 2011 i wanna query a database table for all rows by this id except this id ??? Quote Link to comment https://forums.phpfreaks.com/topic/241944-mysql-query-select-all-but-or-except/ Share on other sites More sharing options...
jcbones Posted July 14, 2011 Share Posted July 14, 2011 SELECT * FROM table WHERE id != 1; Quote Link to comment https://forums.phpfreaks.com/topic/241944-mysql-query-select-all-but-or-except/#findComment-1242550 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.