Postgres Table And Columns Queryselector Input