Content deleted Content added
m Dating maintenance tags: {{Cn}} |
m Undid revision 1241689734 by Electrou (talk) not a reliable source |
||
(7 intermediate revisions by 7 users not shown) | |||
Line 1:
{{Short description|Syntax used to query databases}}
{{Distinguish|Query language}}
{{NR|date=June 2023|find="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) is argued to be part of the sub-language set as well.
Line 5 ⟶ 8:
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 (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==
Line 12 ⟶ 15:
* [[Data control language]]
* [[Transactional control language]]
==References==
{{Reflist}}
{{Database}}
Line 18 ⟶ 24:
[[Category:Data modeling]]
[[Category:SQL]]
[[Category:Database management systems]]
|