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