The database language responsible for query operations in the database is: Data Manipulation Language DML (Data Manipulation Language), which is mainly responsible for basic operations of data, including queries and operations such as addition, deletion, and modification.
(Recommended tutorial: mysql video tutorial)
Database language includes the following three points:
Data definition language (DDL) and its translation program: Mainly responsible for the schema definition of data and the construction of physical access to data.
Data Manipulation Language (DML) and its compilation (or interpretation) program: mainly responsible for basic operations of data, including query and addition, deletion, modification and other operations.
Data control language: Mainly responsible for explaining the meaning of each control command and deciding how to execute the control command.
The database language responsible for query operations in the database is: Data Manipulation Language DML (Data Manipulation Language), through which users can implement basic operations on the database.
Operation
- ##Insert operationInsert data into the specified location in the database, such as Append in the database file Add records at the end, while INSERT adds records before the specified record.
- Delete operationDelete a group of records that no longer need to be retained in the database, such as DELETE to mark the records in the database for deletion. PACK completely clears records marked with a deletion mark. ZAP removes all records from the database file.
- Modify operationsModify records or database schemas, or generate new relationship schemas and records based on original data, such as Join operations and Projection operations .
- Sort operationChanges the arrangement of physical storage. For example, the SORT command sorts the records in the DBF file according to the specified keyword string. From a physical storage point of view, the database has changed, but from a logical point of view (or set theory point of view), the new relationships are equivalent to those before sorting.
- Retrieval operationRetrieve data that meets the conditions from the database, which can be a data item, a record or a group of records. For example, the BROWSE unit implements data browsing operations. SELECT selects records that meet certain conditions and ranges.
The above is the detailed content of What is the database language responsible for query operations in the database?. For more information, please follow other related articles on the PHP Chinese website!
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn