Invalid SQL: select * from words where id=31978