Invalid SQL: select count(*) 'count' from words where letter="ზ" and d_id=123 order by word