MySQL personal summary

The basic idea of ​​the database

Data> Table> Database   

1. The data (Data) is used to record information may be identification code is information specific forms.

  2. Database (Database, DB) is used to store the data warehouse.

3. DBMS (Database Management System, DBMS) and a database management software manipulation, between an application and the operating system.

4. The database system (Database System, DBS) consists of a database and a database management system software.

SQL language

1. Data Manipulation Language (DDL) is used to create a database and database objects, for providing an object database.

2. Data Manipulation Language (DML) operations used for data in the database. INSERT for inserting data UPDATE DELETE to delete the data used to modify the data can SELECT query one or more data from the database according to user needs.

3. Data Control Language (DCL) object that implements the main access to and control of the operation of the database transaction. GRANT statement to grant privileges to users. REVOKE statement is used to recover user rights. COMMIT statement to commit the transaction. ROLLBACK statement rolls back the transaction.

 

Guess you like

Origin www.cnblogs.com/shiao/p/11720404.html