当前位置:网站首页>SQL Chapter 2 Chapter 3
SQL Chapter 2 Chapter 3
2020-11-09 10:51:00 【osc_ptcuqdug】
1: insert data

perhaps

2: Display the data
SELECT * FROM Table name
3: Data update

4:WHERE Clause
Comparison operator , determine
1: Inquire about
SELECT sentence

2: The only value 、
SELECT DISTINCT Name FROM Table name ;
3:WHERE Clause to filter the result


Explain the meaning of the above code
4: Logic operation symbol

The order of the operation levels in the table is from high to low
1:AND OR

WHERE The operation condition after clause is in accordance with AND>OR The order of
2:not Operation symbol
NOT and <> It means the same thing , They are not equal to . Not true .
3:BETWEEN Operator

BETWEEN Specifies a range , The range is between one value and another .
4:LIKE Operator

LIKE The operator can be followed by a wildcard
5:IN Operation symbol

5:ORDER BY Sort

Positive sequence sort

Reverse sort
Particular attention , Even if you don't show a row in the table , You can also use this line to sort .
6: Selecting data from multiple tables


Pay attention to that column , Shows the union of tables .
7:NULL data
NULL It means unknown , It's not the same as not having .
版权声明
本文为[osc_ptcuqdug]所创,转载请带上原文链接,感谢
边栏推荐
- 百亿级数据分表后怎么分页查询?
- jsliang 求职系列 - 08 - 手写 Promise
- Glsb involves load balancing algorithm
- Open source projects for beginners on GitHub (Python)
- Start learning discrete mathematics again
- C++在C的基础上改进了哪些细节
- JT-day09
- SQL语句实现水仙花数求取
- 1486. Array XOR operation
- Android emulator error: x86 emulation currently requires hardware acceleration的解决方案
猜你喜欢
随机推荐
2020,Android开发者打破寒冬的利器是什么?
Unemployment log, November 5
美国大选拜登获胜!硅谷的Python开发者用这种方式调侃懂王
LTM understanding and configuration notes
从实践谈 Ruby 语法上的几个设计不一致带来的问题。
2. Introduction to computer hardware
GDI 及OPENGL的区别
JT-day09
推荐系统,深度论文剖析GBDT+LR
《内网安全攻防》配套视频 之 利用PS查询域内信息
2.计算机硬件简介
OpenGL ES 框架详细解析(八) —— OpenGL ES 设计指南
el-table动态表头
Mac terminal oh my Zsh + solarized configuration
SQL语句实现水仙花数求取
El table dynamic header
Start learning discrete mathematics again
Natural language processing (NLP) roadmap - KDnuggets
Oschina plays disorderly on Monday
050_ object-oriented





![[Python从零到壹] 五.网络爬虫之BeautifulSoup基础语法万字详解](/img/e8/dd70ddf3c2027907f64674676d676e.jpg)

