当前位置:网站首页>Introduction to MySQL database Basics
Introduction to MySQL database Basics
2022-06-22 08:26:00 【Light and slow】
Little knowledge :MySQL The database that comes with it
information_schema: Not a real watch , It's a view There are no real physical files in this database
mysq: This is a MySQL Core database , A lot of core data , There are many table files stored inside
performance_schema: Meaning of performance , A database that does some operations to improve performance , There are also many tables
test: Empty database
If you are not familiar with the database, try not to touch it
1. Basic concepts of database :
1.1 database : Folder
1.2 surface : file
1.3 data ; data
1.4 3 Species notes
* Single-line comments : -- The comment or # The comment (mysql specific )
*1 Multiline comment : /* notes */
2 SQL classification
2.1) DDL( Operating the database , surface ): Data definition language
Used to define database objects : database , surface , Column, etc. . keyword :create, drop,alter etc.
2) DML( Add or delete data in the table ): Data operation language
It is used to add, delete and modify the data in the database . keyword :insert, delete, update etc.
3) DQL( Query data in table ): Data query language
Used to query the records of tables in the database ( data ). keyword :select, where etc.
4) DCL( to grant authorization ): Data control language ( understand )
It is used to define the access rights and security level of the database , And create users . keyword :GRANT, REVOKE etc.
边栏推荐
- Collections以及Arrays
- swagger中的枚举、自定义类型和swaggerignore
- 读取jar包里面文件夹下的所有文件
- Some problems encountered in using swagger in golang
- Synchronized
- 并发三大特性1-可见性
- [Oracle database] mammy tutorial Day11 numerical function
- 同态加密的基本概念
- The jdbcurl is configured correctly in the project, but the jdbcurl is the wrong path after the project is started
- Example of QT qtableview
猜你喜欢

Chapter VIII web project testing (the end of this chapter)

Application of complex science in Maker Teaching Research

一文搞懂one-hot和embedding

Thread status (timed wait, lock blocking, infinite wait (key))

Mt4/mql4 getting started to mastering EA tutorial lesson 8 - common functions of MQL language (VIII) - common time function

Idea reports an error "insufficient memory"

Easyui数据表实现增删改

Basic concepts of homomorphic encryption

Enumerations, custom types, and swaggerignore in swagger

兔小巢使用记录
随机推荐
EURUSD,H1: invalid lots amount for OrderSend function
并发三大特性1-可见性
Flask博客实战 - 集成富文本编辑器Quill
SQL triggers
The challenge of image based voice processing in real-time audio and video -- RTC dev Meetup
Is pioneer futures safe? What are the procedures for opening futures accounts? How to reduce the futures commission?
[Oracle database] mammy tutorial Day12 character function
深度学习——(1)ResNet实现
Example of QT combox
解读创客教育中的技术一族
Bee framework, an ORM framework
Concatenate the specified character at the end of a number in a string
Interview shock 59: can there be multiple auto increment columns in a table?
Mt4-mql4 language EA automatic transaction programming introduction to proficiency
PostgreSQL source code (56) extensible type analysis expandedobject/expandedrecord
Optimization of MySQL paging scheme by database and table
How to write high performance SQL statements?
dom4j+xpath解析xml文件
C language implements inserting and reading pictures into MySQL
Implementation and landing of any to any real-time voice change RTC dev Meetup