当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- A solution to the problem that color picker (palette) cannot use shortcut keys in sublime Text3 plug-in
- for与for...in、for Each和map和for of
- ubuntu 上使用微信的新方案——手机投屏
- Android emulator error: x86 emulation currently requires hardware acceleration solution
- 捕获冒泡?难道浏览器是鱼吗?
- 图节点分类与消息传递 - 知乎
- 彩虹排序 | 荷兰旗问题
- SQL语句实现水仙花数求取
- Ten year itch of programmer
- 做用户,绕不开画像!
猜你喜欢

Capture bubbles? Is browser a fish?

VisualStudio(Mac)安装过程笔记

050_ object-oriented

Android emulator error: x86 emulation currently requires hardware acceleration的解决方案

Mac terminal oh my Zsh + solarized configuration

理解 OC 中 RunLoop

How to do thread dump analysis in Windows Environment

开源ERP招聘了

程序员的十年之痒

卧槽,这年轻人不讲武德,应届生凭“小抄”干掉5年老鸟,成功拿到字节20Koffer
随机推荐
Gather in Beijing! Openi / O 2020 Qizhi Developer Conference enters countdown
Rainbow sorting | Dutch flag problem
C++在C的基础上改进了哪些细节
Shoes? Forecasting stock market trends? Taobao second kill? Python means what you want
Application of cloud gateway equipment on easynts in Xueliang project
Windows环境下如何进行线程Dump分析
商品管理系统——整合仓库服务以及获取仓库列表
After Android solves the setrequested orientation, the rotation of the mobile phone screen does not trigger the onconfigurationchanged method
GDI 及OPENGL的区别
Recommended tools for Mac
What details does C + + improve on the basis of C
SQL语句实现水仙花数求取
Log analysis tool - goaccess
2 normal mode
Unemployment log, November 5
一个简单的能力,决定你是否会学习!
el-table动态表头
Dynamo: a typical distributed system analysis
Aren't you curious about how the CPU performs tasks?
Looking for better dynamic getter and setter solutions