Invalid SQL: select * from words where id=866505