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