ERROR: invalid input syntax for type integer: "" LINE 1: select * from sorozat where id='' ^