当前位置:网站首页>MySQL practice: 2 Table definition and SQL classification
MySQL practice: 2 Table definition and SQL classification
2022-06-26 08:03:00 【Live Firestone】
The definition of the table
Table is a structured file , Can be used to store specific types of data , Such as : Student information 、 Course information, etc , Can be put in the table , In addition, tables have specific names , B. it cannot be repeated . There are several concepts in the table : Column 、 That's ok 、 Primary key .
- Column ( Field )
Column , Usually do fields , Each field contains : Field name 、 Field data type 、 Field constraints 、 Field length ;
- That's ok ( Record )
That's ok , Usually do the records in the table . The data in the table is by row ( Record ) Stored , There can be 0 Multiple records of a ring ;
SQL The classification of
- Database query language (DQL)
Represent keyword :select
- Database operation language (DML)
Represent keyword :insert、delete 、update Respectively represents increase 、 Delete 、 Change the data in the table
- Database definition language (DDL)
Represent keyword :create、drop、alter Each represents the creation of 、 Delete 、 Modify the structure of the table
- Transaction control language (TCL)
Represent keyword :commit、rollback
- Data control language (DCL)
Represent keyword :grant、revoke
Be careful :DML Is to modify the data in the database table , and DDL Is to modify the structure of the data table ;
边栏推荐
- Technology sharing | mysql:caching_ sha2_ Password quick Q & A
- How to debug plug-ins using vs Code
- Use intent to shuttle between activities -- use explicit intent
- Informatics Orsay all in one 1354: bracket matching test
- Here is the command to display the disk space usage. Go ahead and pay attention to more wonderful things!
- Multi interface switching in one UI of QT
- Project management learning
- JWT in go
- Which securities company has the lowest Commission for opening a mobile account? Is it safe to open an account online?
- Redis (4) -- Talking about integer set
猜你喜欢
JS Date object
Take you three minutes to get started typescript
What is the difference between bone conduction earphones and ordinary earphones? Advantages of bone conduction earphones
Quickly upload data sets and other files to Google colab ------ solve the problem of slow uploading colab files
Here is the command to display the disk space usage. Go ahead and pay attention to more wonderful things!
ReW_ p
buuresevewp
Household enterprises use WMS warehouse management system. What are the changes
Niuniu looks at the cloud (greedy, hash, push formula) - the first session of Niuke winter vacation training camp
Tsinghua Yaoban chendanqi won Sloan award! He is a classmate with last year's winner Ma Tengyu. His doctoral thesis is one of the hottest in the past decade
随机推荐
Google Earth engine (GEE) 01- the prompt shortcut ctrl+space cannot be used
记一次开发 pgadmin 时执行 Building the Web Assets 遇到的依赖安装问题
Esp32-c3 introductory tutorial WiFi part ⑥ - WIFI intelligent distribution network based on serial port
arduino——ATtiny85 SSD1306 + DHT
Deeply analyze storage costs and find cost reduction solutions
C#/. Net phase VI 01C Foundation_ 02:vs2019 basic operations, excluding code files, smart tips, data types, differences between float and double, and differences between string and string
Is it safe for individuals to buy stocks with compass software? How to buy stocks
The 9th zero code training camp is officially open for registration! (Beijing, Shanghai, Guangzhou and Shenzhen)
1002: easy to remember phone number
Median segmentation (find rules) - Niuke
2022 ranking of bank financial products
. eslintrc. JS configuration
Double linked list -- tail interpolation construction (C language)
This article will take you to learn in detail what is FTTH
JS Date object
What are the key points of turnover box management in warehouse management
Multi interface switching in one UI of QT
PCB miscellaneous mail
Jz-063- median in data stream
Wifi-802.11 2.4G band 5g band channel frequency allocation table