You can use DBM commands to transmit database statements to the database instance as well as to display the result sets of database statements and their structure.
Choose the appropriate example:
Executing a Single Database Statement
Executing a Succession of Database Statements