Invalid query: SELECT count(*) as c FROM orders WHERE state= 1 AND category = orders AND city=1

Error: Unknown column 'orders' in 'where clause'