Data query language
Data query language (DQL) is part of the base grouping of SQL sub-languages. These sub-languages are mainly categorized into four categories: a data query language (DQL), a data definition language (DDL), a data control language (DCL), and a data manipulation language (DML). Sometimes a transaction control language (TCL)[1] is argued to be part of the sub-language set as well.
DQL statements are used for performing queries on the data within schema objects. The purpose of DQL commands is to get the schema relation based on the query passed to it.
Although often considered part of DML, the SQL SELECT statement is strictly speaking an example of DQL. When adding FROM or WHERE data manipulators to the SELECT statement the statement is then considered part of the DML.
Related language types
- Data definition language
- Data manipulation language
- Data control language
- Transactional control language
- v
- t
- e
- Requirements
- Theory
- Models
- Database management system
- Machine
- Engine
- Server
- Application
- Connection
- datasource
- DSN
- Administrator
- Lock
- Types
- Tools
- Entities and relationships (and Enhanced notation)
- Normalization
- Schema
- Refactoring
- Cardinality
![](http://upload.wikimedia.org/wikipedia/commons/thumb/3/37/People_icon.svg/16px-People_icon.svg.png)
![](http://upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/16px-Symbol_category_class.svg.png)
- ^ "SQL Commands: DDL, DQL, DML, DCL and TCL With Examples". GeeksforGeeks. 2017-11-06. Retrieved 2024-08-22.