错误号:12142
错误原因: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<277 order by ID desc limit 0,1' at line 1
错误SQL语句:
select * from lxkj_archives where ViewFlagCh and SortID= and ID<277 order by ID desc limit 0,1