Invalid SQL: select * from words where id=23517