Skip to content

Database query

A database query requests data under defined conditions. Selection, result scope and ordering should fit the work being done.

Also known asQuery
Data platforms

A database query requests data from a database under defined conditions. In a relational database, an SQL statement such as SELECT can be used. It describes, among other things, which columns and records are needed.

An order list example

A hypothetical portal requests open orders belonging to a particular customer company. Company association, status and required fields belong in the selection. Any desired sorting must also be specified; otherwise the order is not reliably guaranteed.

Not every view needs all available data. Appropriate limits support a traceable workflow. The query must also stay within the permitted data scope. Technical availability does not mean the requesting person may see the data.

Sources