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