Which SQL statement is used in COBOL to retrieve data from a database table?
- DELETE
- INSERT
- SELECT
- UPDATE
The SELECT statement is used in COBOL programs to retrieve data from one or more tables in a database. It allows specifying the columns to be retrieved and conditions for filtering data, enabling the extraction of specific information from the database.
Loading...
Related Quiz
- When using the REDEFINES clause in COBOL, what happens to the memory occupied by the redefined data items?
- In COBOL, what is the purpose of the 88-level condition names in the Data Division?
- In COBOL, which file organization is most suitable for direct access to records by a specific key?
- Which data types can the OCCURS clause be applied to in COBOL?
- You are developing a COBOL application to read and process data from a CSV file. Which COBOL Procedure Division statement(s) would be essential in this scenario?