A language that allows a user to select records from a database. It may be in the form of typed commands such as the widely used SQL language, a predefined query menu or a query by example (QBE). Query languages are usually included in DBMSs, and stand-alone packages are available for interrogating non-DBMS files. See
SQL,
query by example and
query program.