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