A program used for producing an on-screen or printed documents from the database is known as:

Security

Report generator

Query

SQL prompt