当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Initial installation of linx7.5
- 上周热点回顾(11.2-11.8)
- Python零基础入门教程(01)
- 财富自由梦缓?蚂蚁金服暂停上市,监管后估值或下跌
- Android emulator error: x86 emulation currently requires hardware acceleration的解决方案
- [Python from zero to one] 5. Detailed explanation of beautiful soup basic syntax of web crawler
- Mapstructure detoxifies object mapping
- python生日贺卡制作以及细节问题的解决最后把python项目发布为exe可执行程序过程
- The whole process of building a fully distributed cluster
- Capture bubbles? Is browser a fish?
猜你喜欢
Mac 必备优质工具推荐
共创爆款休闲游戏 “2020 Ohayoo游戏开发者沙龙”北京站报名开启
20201108编程练习——练习3
5 个我不可或缺的开源工具
WordPress Import 上传的文件尺寸超过php.ini中定义的upload_max_filesize值--&gt;解决方法。
From the practice, this paper discusses the problems caused by the inconsistent design of ruby syntax.
《内网安全攻防》配套视频 之 利用PS查询域内信息
商品管理系统——商品新增本地保存实现部分
When Python calls ffmpeg, 'ffmpeg' is not an internal or external command, nor a runnable program
2020,Android开发者打破寒冬的利器是什么?
随机推荐
Oschina plays disorderly on Monday
Android 解决setRequestedOrientation之后手机屏幕的旋转不触发onConfigurationChanged方法
开源 | HMGNN:异构小图神经网络及其在拉新裂变风控场景的应用
捕获冒泡?难道浏览器是鱼吗?
使用CopyMemory API出现 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
Do you know how the computer starts?
Commodity management system -- implementation of local preservation of new commodities
如何保证消息不被重复消费?(如何保证消息消费的幂等性)
SHOW PROFILE分析SQL语句性能开销
As a user, you can't get rid of the portrait!
Commodity management system -- integrate warehouse services and obtain warehouse list
做用户,绕不开画像!
Windows环境下如何进行线程Dump分析
Glsb involves load balancing algorithm
商品管理系统——商品新增本地保存实现部分
操作系统之bios
结合阿里云 FC 谈谈我对 FaaS 的理解
JT-day09
for与for...in、for Each和map和for of
Sql分组查询后取每组的前N条记录