当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- In 2020, what are the best tools for Android developers to break the cold winter?
- RabbitMQ脑裂问题解决方案调查
- How to query by page after 10 billion level data is divided into tables?
- Commodity management system -- implementation of local preservation of new commodities
- 开源ERP招聘了
- 1450. 在既定时间做作业的学生人数
- Capture bubbles? Is browser a fish?
- Program life: from Internet addicts to Microsoft, bat and byte offer harvesters
- 做用户,绕不开画像!
- android studio创建平板模拟器方法
猜你喜欢

从实践谈 Ruby 语法上的几个设计不一致带来的问题。

A solution to the problem that color picker (palette) cannot use shortcut keys in sublime Text3 plug-in

日志分析工具 - GoAccess

程序员的十年之痒

The difference between GDI and OpenGL

From the practice, this paper discusses the problems caused by the inconsistent design of ruby syntax.

捕获冒泡?难道浏览器是鱼吗?

1486. 数组异或操作

Investigation of solutions to rabbitmq cleft brain problem

SQL语句实现水仙花数求取
随机推荐
2 normal mode
OSChina 周一乱弹 —— 程序媛的青春
For the first time open CSDN, this article is for the past self and what is happening to you
1486. Array XOR operation
Gather in Beijing! Openi / O 2020 Qizhi Developer Conference enters countdown
EasyNTS上云网关设备在雪亮工程项目中的实战应用
如何保证消息不被重复消费?(如何保证消息消费的幂等性)
Android emulator error: x86 emulation currently requires hardware acceleration solution
Sublime text3 插件ColorPicker(调色板)不能使用快捷键的解决方法
理解Task和和async await
LTM understanding and configuration notes
基于synchronized锁的深度解析
ThinkPHP门面源码解析
商品管理系统——整合仓库服务以及获取仓库列表
The whole process of building a fully distributed cluster
Log analysis tool - goaccess
彩虹排序 | 荷兰旗问题
5 个我不可或缺的开源工具
Do you know how the computer starts?
Chrome browser engine blink & V8