I have very simple query like this:
SELECT * FROM `all_conversations` WHERE `deleted_1` != \'1\';
And my deleted_1 be default
deleted_1
How about removing the single quotes around the 1?
SELECT * FROM `all_conversations` WHERE `deleted_1` != 1;