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