SQL Error: select id,body,options from ***_enewstiku where sourceid='30959' and id < 2494317 and id<>'2494317' order by id desc limit 5 SQL Error: select id,body,options from ***_enewstiku where sourceid='30959' and id > 2494317 and id<>'2494317' order by id asc limit 5