Create a table, insert rows, and query with parameterized SQL.
Open a database/sql handle to Postgres and query rows.