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 '-16, 16' at line 1/home/indianyp/ IN FILE /home/indianyp/ -

select product_code, product_name,checkbox_status, category_name, final_product, image_small, image_full, disp_final_page, slno, image_title,checkbox_status, full_desc, short_desc, category_type, price, qty_status, min_qty, other_site_url, other_url, disp_prod_name, anchor_title, EI_slno from bc_product_ei where category_name='890669' and member_id='104654' and site_type='ei' and category_type='0' and link_display='Y' and multiple_website_status='0' order by disp_order limit -16, 16