当前位置:网站首页>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 ;
边栏推荐
猜你喜欢

Here is the command to display the disk space usage. Go ahead and pay attention to more wonderful things!
![Comparison version number [leetcode]](/img/02/d1a1922c10e5360e511782b16690e1.jpg)
Comparison version number [leetcode]

This article will take you to learn in detail what is FTTH

Deeply analyze storage costs and find cost reduction solutions

Opencv鼠标事件+界面交互之绘制矩形多边形选取感兴趣区域ROI

What is Wi Fi 6 (802.11ax)? Why is Wi Fi 6 important?

buuresevewp

Basic use of swiperefreshlayout, local refresh of flutterprovider

What are the key points of turnover box management in warehouse management
![[industry cloud talk live room] tomorrow afternoon! Focus on digital intelligence transformation of the park](/img/20/05f0a2dfb179a89188fbb12605370c.jpg)
[industry cloud talk live room] tomorrow afternoon! Focus on digital intelligence transformation of the park
随机推荐
This article will take you to learn in detail what is FTTH
Solve psycopg2 NotSupportedError: PQconninfo not available in libpq < 9.3
Project management learning
Webrtc has become the official standard of W3C and IETF, and mobile terminal development
arduino——ATtiny85 SSD1306 + DHT
Listview control
Chapter VI (pointer)
Esp32-c3 introductory tutorial WiFi part ⑥ - WIFI intelligent distribution network based on serial port
Win11 open folder Caton solution summary
Common uniapp configurations
我想要股票账户优惠开户,如何操作?手机开户安全么?
Jz-063- median in data stream
Important reference indicators for data center disaster recovery: RTO and RPO
[UVM foundation] UVM_ Driver member variable req definition
The first screen time, you said you optimized it, then you calculated it and showed it to me!
Golang collaboration and channel usage
Area of Blue Bridge Cup 2 circle
Uploading pictures with FileReader object
How to define a digital factory and what is the relationship with smart factory and industry 4.0
Real machine debugging of uniapp custom base