当前位置:网站首页>SQL基础
SQL基础
2022-06-26 06:37:00 【The code family】
一:SQL通用语法
1.SQL语句可以单行或多行书写,以分号结尾。
2. SQL语句可以使用空格/缩进来增强语句的可读性。
3. MySQL数据库的SQL语句不区分大小写,关键字建议使用大写。
4. 注释:
单行注释: --注释内容或#注释内容(MySQL特有)
多行注释: /* 注释内容*/
二:SQL分类
分类 全称 说明
DDL Data Definition Language 数据定义语言,用来定义数据库对象(数据库,表,字段)
DML Data Manipulation Language 数据操作语言,用来对数据库表中的数据进行增删改
DQL Data Query Language 数据查询语言,用来查询数据库中表的记录
DCL Data Control Language 数据控制语言,用来创建数据库用户、控制数据库的 访问权限
边栏推荐
- Marketing skills: compared with the advantages of the product, it is more effective to show the use effect to customers
- New generation engineers teach you how to play with alluxio + ml (Part 1)
- ts中枚举类型(enum)简单使用
- Five solutions across domains
- Import export simple
- SparseArray
- Distribution operation of D
- Number of connections server database message: error number 2003can't connect to MySQL server on 'server address' (10061)
- 【golang】time相关
- Simple use of typescript's class interface
猜你喜欢

寶塔服務器搭建及數據庫遠程連接

Install pyinstaller

Reasons why MySQL indexes are not effective

Design and practice of low code real-time data warehouse construction system
[alluxio & Dachang] the original boss direct employment was applied in this way

Go语言学习笔记 1.1

Library management system

Several promotion routines of data governance

Bugku练习题---MISC---富强民主

Pychart cannot run designer Exe (this application failed to start because no Qt platform plugin could be I appears)
随机推荐
Print bit information of numbers
New generation engineers teach you how to play with alluxio + ml (Part 1)
GoF23—工厂模式
Message queue - function, performance, operation and maintenance comparison
视图简析
zip(*arg)的用法
Go learning notes 1.3- data types of variables
Research Report on market supply and demand and strategy of China's microneedle device industry
Volatile application scenarios
Connexion et déconnexion TCP, détails du diagramme de migration de l'état
Live broadcast Preview - fire safety instructor training "cloud class" is about to start!
3.pyinstaller模块介绍
DPDK——TCP/UDP协议栈服务端实现(二)
[digital signal processing] basic sequence (unit step sequence | relationship between unit step sequence and unit pulse sequence | rectangular sequence | relationship between rectangular sequence and
PyTorch使用多GPU并行训练及其原理和注意事项
typescript的class结合接口(interface)的简单使用
vs code 使用 prettier 格式化 js 的时候, 函数定义的名称和括号之间有一个空格, 而 eslit 又不允许这个空格.
Open source demo| you draw and I guess -- make your life more interesting
Pytorch mixing accuracy principle and how to start this method
Install pyinstaller