当前位置:网站首页>[MySQL · water drop plan] the third part - basic concepts of SQL

[MySQL · water drop plan] the third part - basic concepts of SQL

2022-06-21 21:14:00 Game programming

??? Thousands of people , Thank you for reading my article at this moment , Thanks for watching , Hello, everyone , I am a , You can order canned fish ~???

【MySQL· Water drop plan 】 Third words - SQL Basic concepts of - The first 3 Zhang

Starting today , A column will open , 【MySQL· Water drop plan 】 ,MySQL Series is also a skill that both back-end and front-end need to master . This column will go through a series of detailed explanations MySQL Related to the grammar , And provide some cases to deepen your impression , For everyone to learn MySQL Language builds a certain foundation ! Welcome to subscribe to this column
Last , I hope my article can be helpful to your !
I wish myself and you in the future , Keep learning , Keep improving , Keep loving , Go to the mountains and seas !

【MySQL· Water drop plan 】 Third words - SQL Basic concepts of - The first 4 Zhang

??【MySQL· Water drop plan 】 First words - Basic knowledge of databases ??
??【MySQL· Water drop plan 】 July - Database installation and use ??

?? Third words - SQL Basic concepts of

?? After we installed it yesterday MySQL After environment , Today we officially enter MySQL My teaching , Let's first learn about MySQL Medium SQL What is it? , What's the specific effect ,SQL Classification of grammar , And we write SQL Specification of statement

【MySQL· Water drop plan 】 Third words - SQL Basic concepts of - The first 5 Zhang

?? sql What is it?

( S tructured Q uery L anguage) Structured query language , abbreviation SQL. It's a language for communicating with databases .
Then we use Java, Is the most important thing just jdk Environmental Science , No, jdk How can you afford to run Java The procedure , Right . and sql Statement is a language for us to operate the database .

【MySQL· Water drop plan 】 Third words - SQL Basic concepts of - The first 9 Zhang

?? sql The role of

  • adopt SQL Statement we can operate the database more conveniently 、 surface 、 data .

  • SQL It is a standard that database management systems need to follow . Different database manufacturers support SQL sentence , But they all have their own content . We can sql Sentence as our Chinese Mandarin , A language that we can all understand , There are different dialects in different regions , In Guangdong, we can hear Cantonese speaking , And speak Chaoshan dialect and other dialects , That's for databases , In fact, different manufacturers have corresponding dialects , But what? , All support. sql Of the statement , You can understand Mandarin !

    【MySQL· Water drop plan 】 Third words - SQL Basic concepts of - The first 1 Zhang

?? sql The classification of

【MySQL· Water drop plan 】 Third words - SQL Basic concepts of - The first 10 Zhang

sql We can divide into :

  • DDL: Data definition statement , For the creation of libraries and tables 、 modify 、 Delete . keyword :create,drop,alter etc. ;

  • DML: Data manipulation statement , Used to add 、 Delete 、 modify 、 Query database records , And check data integrity . keyword :insert,delete,update etc. ;

  • DQL: Data query language is used to query the database . keyword select;

  • DCL: Data control statement , Used to define access rights and security levels for users . And the more important one is : DML and DQL, Is to add, delete, modify and check !

?? sql The specification of

  • MySQL Database SQL Statement is case insensitive , But the advice Keyword capitalization , Table name 、 Column names in lowercase .

  • SQL Statements can be written in one or more lines , It ends with a semicolon , That is, each command should preferably end with a semicolon

  • Every command is as needed , You can indent or wrap lines to enhance readability .

  • notes : SQL Unique single line comments :# Note text single line notes :-- Annotation text multiline annotation :/* Note text */

    【MySQL· Water drop plan 】 Third words - SQL Basic concepts of - The first 2 Zhang

?? The end

I'm sure all of you here have a general understanding of the basic knowledge of the database. This article has been written , Last thousand words , Let's go straight to today's mind map , I hope I can help you !??

【MySQL· Water drop plan 】 Third words - SQL Basic concepts of - The first 11 Zhang
【MySQL· Water drop plan 】 Third words - SQL Basic concepts of - The first 6 Zhang

?? I am not talented , If there is anything missing 、 The wrong place , You are also welcome to comment, criticize and correct !???
?? Of course, if this article is sure to help you a little , Please kindly and lovely talents give me a give the thumbs-up 、 Collection Let's go , Thank you very much !???

【MySQL· Water drop plan 】 Third words - SQL Basic concepts of - The first 7 Zhang

?? Although this article is over , But I'm still , It's never over . I will try to keep writing . The coming days would be long , Don't be afraid of the slow horse !
?? Thank you for seeing this ! May you live up to your age , No regrets for youth ! Let's go ! ???
?? Learn here , The world is closed today , Good night, !???

【MySQL· Water drop plan 】 Third words - SQL Basic concepts of - The first 8 Zhang

author :m0_67391518

Game programming , A game development favorite ~

If the picture is not displayed for a long time , Please use Chrome Kernel browser .

原网站

版权声明
本文为[Game programming]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206211931212142.html