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