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