Error´╝ÜQuery error:select * from fl_document WHERE id < 1817 and typeid=10 and city_id= order by id desc LIMIT 1