syntax error: select * from table_product_cat where id= and com='cat'