The following sections describe how you can run a SQL query using a connection: