Can not execute query select * from post_details WHERE status='a' order by date DESC limit 0,5