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