Overview of SQL and SQL classification

SQL is the acronym for Structured Query Statement. SQL is the database language through which communication with the Oracle server can be achieved. Can perform operations such as CRUD.

Note: CRUD refers to Create (add), Retrieve (retrieval), Update (modify), Delete (delete)

SQL classification:

DDL: Data Definition Language, used to define tables, columns, etc. For example: create: create, modify: alter, delete: drop

DML: Data manipulation language, used to define database record data and operations such as: add data: add, modify data: update, delete data: delete

DQL: Data query language, used to query record data such as: query data

DTL: Data transaction language, used to operate transactions such as: transaction submission: commit
transaction rollback: rollback

DCL: Data Control Language, used to operate users and permissions, such as creating users and authorizing

Guess you like

Origin blog.csdn.net/weekendholiday/article/details/127325628