Cyask! info: MySQL Query Error

Time: 2024-10-30 5:46am
Script:

SQL: select create_time from hzty.gb_nolimit where cid = and ip = '' and views = 0 order by create_time 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 ip = '' and views = 0 order by create_time desc limit 1' at line 1
Errno.: 1064