Introduction to DML and DDL Query Language



Just like the name of SQL, we can deal with the database through an easy-to-understand query language and get the data we want from the database. For the SQL language, there are two components:

DML (data manipulation language): they are SELECT, UPDATE, INSERT, DELETE, just like its name, these 4 commands are the language used to manipulate the data in the database .

DDL (data definition language): DDL is more than DML. The main commands are CREATE, ALTER, DROP, etc. DDL is mainly used to define or change the structure, data type, links and constraints between tables, etc. Initially, they are mostly used when creating tables.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326418914&siteId=291194637