Invalid query: SELECT id, name FROM new_category WHERE id='1' AND deleted='0' ORDER BY id