In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Introduction to DML, DDL and DCL
What is it?
DML: data manipulation language
Including addition, deletion, modification and search (INSERT,DELETE,UPDATE,SELECT), a language for manipulating data. The operating unit of DML is RECORD.
INSERT, that is, insert one or more records.
DELETE, that is, delete one or more records.
UPDATE, that is, what is recorded in the update table.
DDL: data definition language
Commonly used are CREATE,ALTER,DROP, etc. DDL is mainly used to define tables or change table structure, data types, links and constraints between tables and other initialization work. DDL is used to manipulate the properties of objects and objects, including the database itself and database objects: tables, views, and so on. DDL does not operate on the data content.
CREATE, you can create a database or some objects in the database.
ALTER, modify data definitions or properties, such as field type, size, and so on.
DROP, delete table structure and data attributes.
DCL: data control language
Commonly used statements such as GRANT,REVOKE,DENY are used to control the permissions of database users and roles.
GRANT, authorization
REVOKE, reclaim permissions
Summary: to put it simply, DML (data manipulation language) is a language for manipulating data content, and its minimum operating unit is rows.
DDL (data definition language) is a language for manipulating data objects and object properties. Its operations will change the table structure, table type and other data properties, but will not change the data content.
DCL (data control language) data control language, used to limit the permissions of database users.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.