XIII. Database summary

A database CRUD

II. Create a user and authorization

And set a permission (or all privileges) operations to the current user. So then we need to take a brief look: 
https://www.cnblogs.com/majj/p/9179218.html

III. View (mysql)

A view is a virtual table (non-real), which is essentially a [Sentence obtain dynamic data set based on SQL, and give it a name], [name] simply use when users can get the result set, and it can be when for table use. 
https://www.cnblogs.com/wupeiqi/articles/5713323.html

IV. Triggers

On a table before and after [add / delete / change operation] If you want to trigger a specific behavior, you can use the flip-flop, flip-flop for a user to customize the rows of a table were [add / delete / change the behavior before and after] . 
https://www.cnblogs.com/wupeiqi/articles/5713323.html

V. Stored Procedures

A stored procedure is a set of SQL statements, when the initiative to call a stored procedure, which will be inside the SQL statement executed in accordance with the logic. 
https://www.cnblogs.com/wupeiqi/articles/5713323.html

 VI. Functions

Functions MySQL provides many built-in functions, such as: 
https://www.cnblogs.com/wupeiqi/articles/5713323.html

VII. Affairs

A plurality of transaction for some SQL operations as an atomic operation, once a certain error occurs, can roll back to the original state, to ensure the integrity of the database data. 
https://www.cnblogs.com/wupeiqi/articles/5713323.html

VIII. Index

Index, the database is designed to help users quickly find a data structure of the data. The dictionary-like directory, you can find content from a catalog when searching the dictionary data storage location, and direct access to. 
https://www.cnblogs.com/majj/p/9196025.html

IX. Aggregate Functions

 

 

Guess you like

Origin www.cnblogs.com/Sup-to/p/11278950.html