当前位置:网站首页>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 数据控制语言,用来创建数据库用户、控制数据库的 访问权限
边栏推荐
- Go语言学习笔记 1.2-变量篇
- MySQL delete in without index
- Message queue - function, performance, operation and maintenance comparison
- Import export simple
- Differences, advantages and disadvantages between synchronous communication and asynchronous communication
- Install pyinstaller
- New generation engineers teach you how to play with alluxio + ml (Part 1)
- Prometheus和Zabbix的对比
- PyTorch混合精度原理及如何开启该方法
- Bugku练习题---MISC---富强民主
猜你喜欢
Customer Stories | Netease spring breeze: the "spring breeze" of the fun industry, reaching out to all areas through in-depth interaction

Five solutions across domains

I use flask to write the website "II"

Prometheus和Zabbix的对比

GoF23—建造者模式

C nuget offline cache package installation

闭包问题C# Lua

vs code 使用 prettier 格式化 js 的时候, 函数定义的名称和括号之间有一个空格, 而 eslit 又不允许这个空格.

MYSQL触发器要如何设置,简单教程新手一看就会

Gof23 - abstract factory pattern
随机推荐
China micro cultivator market trend report, technical dynamic innovation and market forecast
Research Report on market supply and demand and strategy of China's pallet scale industry
Underlying principle of MySQL index
Open source demo| you draw and I guess -- make your life more interesting
Self attention and multi head self attention (MSA) in transformer
Import export simple
Thinking and summary of technical ability
【golang】time相关
Install pyinstaller
Go language learning notes 1.2- variables
Understanding of nil in go language
Thinking skills of technical leaders
Web components series (10) -- realize the basic layout of mycard
Alarm operation and Maintenance Center | build an efficient and accurate alarm collaborative processing system
Message queuing - omnidirectional comparison
STM 32 使用cube 生成TIM触发ADC并通过DMA传输的问题
GoF23—建造者模式
LightGBM--调参笔记
Dpdk - tcp/udp protocol stack server implementation (I)
Lightgbm-- parameter adjustment notes