Query SQL Error. Please Consult Adminstration

select c.name as category_name, p.* from category c, products p where c.category_id = p.category_id and p.category_id ='17' order by sort_order ASC LIMIT -12, 12