当前位置:网站首页>SQL question brushing 584 Looking for user references
SQL question brushing 584 Looking for user references
2022-07-01 16:45:00 【GRT should always work hard】


Intuitively think of the following sql sentence
# Write your MySQL query statement below
select name from customer where referee_id != 2
But the query result is wrong ,
MySQL Use ternary logic —— TRUE, FALSE and UNKNOWN. Anything to do with NULL Values are compared with the third value UNKNOWN compare .
# Write your MySQL query statement below
select name from customer where referee_id != 2 or referee_id is null
边栏推荐
- 数据库系统原理与应用教程(003)—— MySQL 安装与配置:手工配置 MySQL(windows 环境)
- P2893 [USACO08FEB] Making the Grade G(dp&优先队列)
- 【SQL语句】请问这边为什么select出了两个上海,查询出了不同的count我想让他变成一个上海,count只显示一个总和
- Motion capture system for apple picking robot
- Research and investment strategy report of hydroxypropyl beta cyclodextrin industry in China (2022 Edition)
- [JetsonNano] [教程] [入门系列] [三] 搭建TensorFlow环境
- How to repair the laptop that cannot connect to the wireless network
- How to use phpipam to manage IP addresses and subnets
- Preliminary study on golang crawler framework
- The sharp drop in electricity consumption in Guangdong shows that the substitution of high-tech industries for high-energy consumption industries has achieved preliminary results
猜你喜欢

Internet News: "20220222" get together to get licenses; Many products of Jimi have been affirmed by consumers; Starbucks was fined for using expired ingredients in two stores

数据库系统原理与应用教程(002)—— MySQL 安装与配置:MySQL 软件的卸载(windows 环境)

Endeavouros mobile hard disk installation

Sqlserver query: when a.id is the same as b.id, and the A.P corresponding to a.id cannot be found in the B.P corresponding to b.id, the a.id and A.P will be displayed

Tutorial on principles and applications of database system (006) -- compiling and installing MySQL 5.7 (Linux Environment)

StoneDB 为国产数据库添砖加瓦,基于 MySQL 的一体化实时 HTAP 数据库正式开源!

Ring iron pronunciation, dynamic and noiseless, strong and brilliant, magic wave hifiair Bluetooth headset evaluation

接口测试框架中的鉴权处理

sql刷题584. 寻找用户推荐人

Défaillance lors du démarrage de la machine virtuelle VMware: le poste de travail VMware n'est pas compatible avec hyper - V...
随机推荐
[SQL statement] Why do you select two Shanghai and query different counts here? I want it to become a Shanghai, and count only displays a sum
Rhcsa Road
vim用户自动命令示例
复杂度相关OJ题(LeetCode、C语言、复杂度、消失的数字、旋转数组)
【SQL语句】请问这边为什么select出了两个上海,查询出了不同的count我想让他变成一个上海,count只显示一个总和
How to use phpipam to manage IP addresses and subnets
UML tourism management system "suggestions collection"
[JetsonNano] [教程] [入门系列] [三] 搭建TensorFlow环境
SQLServer查询: a.id与b.id相同时,a.id对应的a.p在b.id对应的b.p里找不到的话,就显示出这个a.id和a.p
数据库系统原理与应用教程(003)—— MySQL 安装与配置:手工配置 MySQL(windows 环境)
Submission lottery - light application server essay solicitation activity (may) award announcement
数据库系统原理与应用教程(004)—— MySQL 安装与配置:重置 MySQL 登录密码(windows 环境)
How does go use symmetric encryption?
怎麼用MySQL語言進行行列裝置?
How long will it take to achieve digital immortality? Metacosmic holographic human avatar 8i
Rhcsa Road
[live broadcast appointment] database obcp certification comprehensive upgrade open class
Buuctf gold III
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
How to repair the laptop that cannot connect to the wireless network