SELECT * FROM `projects` WHERE `min_price` >= '500000 ' AND `max_price` <= ' 50000000' AND `deleted` =0 AND `blocked` =0 ORDER BY `id` DESC
答案 0 :(得分:2)
比较值有一个额外的空间。移除额外的空间,它将起作用。
SELECT * FROM `projects` WHERE `min_price` >= '500000'
AND `max_price` <= '50000000' AND `deleted` =0 AND `blocked` =0 ORDER BY `id` DESC