ERROR: invalid input syntax for integer: "" LINE 1: ...elect * from bio_news where published='1' and id!='' order b... ^