_ROOT info: MySQL Query Error

Time: 2019-11-19 7:12am
Script:

SQL: select * from e_products where cate_id= and id<124 order by id desc limit 1
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and id<124 order by id desc limit 1' at line 1
Errno.: 1064