How To Execute Query In Postgresql