当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Talk about my understanding of FAAS with Alibaba cloud FC
- 理解 OC 中 RunLoop
- LTM理解及配置笔记记录
- As a user, you can't get rid of the portrait!
- Looking for better dynamic getter and setter solutions
- Aren't you curious about how the CPU performs tasks?
- [Python从零到壹] 五.网络爬虫之BeautifulSoup基础语法万字详解
- 十五年后,重构一个“在线的腾讯”
- nodejs学习笔记(慕课网nodejs从零开发web Server博客项目)
- [QT] subclass qthread to realize multithreading
猜你喜欢
随机推荐
共创爆款休闲游戏 “2020 Ohayoo游戏开发者沙龙”北京站报名开启
Commodity management system -- the search function of SPU
图节点分类与消息传递 - 知乎
搭建全分布式集群全过程
Biden wins the US election! Python developers in Silicon Valley make fun of Ku Wang in this way
The difference between GDI and OpenGL
详解Python input()函数:获取用户输入的字符串
The whole process of building a fully distributed cluster
Rainbow sorting | Dutch flag problem
Source code analysis of ThinkPHP framework execution process
After Android solves the setrequested orientation, the rotation of the mobile phone screen does not trigger the onconfigurationchanged method
Chrome浏览器引擎 Blink & V8
Deng Junhui's notes on data structure and algorithm learning - Chapter 9
Android权限大全
Sql分组查询后取每组的前N条记录
1486. 数组异或操作
彩虹排序 | 荷兰旗问题
This program cannot be started because msvcp120.dll is missing from your computer. Try to install the program to fix the problem
Detailed analysis of OpenGL es framework (8) -- OpenGL es Design Guide
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:樊文凯






