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