PostgreSQL Example

This example shows how to connect to a PostgreSQL database from a Java
program. You will have to provide your own server details. You will also
have to modify the SQL query for your database.