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