Data query language: Difference between revisions

Content deleted Content added
m Undid revision 1241689734 by Electrou (talk) not a reliable source
 
(13 intermediate revisions by 10 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.
 
'''Data Queryquery Languagelanguage''' ('''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.
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.
Line 7 ⟶ 10:
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 languageslanguage types==
* [[Data definition language]]
* [[Data manipulation language]]
* [[Data control language]]
* [[Transactional Controlcontrol Languagelanguage]]
 
==References==
{{Reflist}}
 
{{Database}}
Line 18 ⟶ 24:
[[Category:Data modeling]]
[[Category:SQL]]
[[Category:Database management systems]]