当前位置:网站首页>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
边栏推荐
- Rhcsa Road
- Go 语言源码级调试器 Delve
- Stonedb is building blocks for domestic databases, and the integrated real-time HTAP database based on MySQL is officially open source!
- FPN network details
- sql刷题627. 变更性别
- Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
- Principes et applications du système de base de données (006) - - compilation et installation de MySQL 5.7 (environnement Linux)
- 嗨 FUN 一夏,与 StarRocks 一起玩转 SQL Planner!
- 虚拟串口模拟器和串口调试助手使用教程「建议收藏」
- Red team Chapter 8: blind guess the difficult utilization process of the package to upload vulnerabilities
猜你喜欢

数据库系统原理与应用教程(004)—— MySQL 安装与配置:重置 MySQL 登录密码(windows 环境)

Problems encountered in IM instant messaging development to maintain heartbeat

数据库系统原理与应用教程(006)—— 编译安装 MySQL5.7(Linux 环境)

C語言輸入/輸出流和文件操作

SystemVerilog-结构体(二)

怎么用MySQL语言进行行列装置?

Rhcsa Road

嗨 FUN 一夏,与 StarRocks 一起玩转 SQL Planner!

Analysis of PostgreSQL storage structure

【Hot100】17. Letter combination of telephone number
随机推荐
Why is the pkg/errors tripartite library more recommended for go language error handling?
C语言输入/输出流和文件操作
Kali install Nessus
[nodemon] app crashed - waiting for file changes before starting...解决方法
Tutorial on the principle and application of database system (003) -- MySQL installation and configuration: manually configure MySQL (Windows Environment)
Advantages, values and risks of chain games compared with traditional games
怎麼用MySQL語言進行行列裝置?
Hi Fun Summer, play SQL planner with starrocks!
Endeavouros mobile hard disk installation
虚拟串口模拟器和串口调试助手使用教程「建议收藏」
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
Activity的生命周期和启动模式详解
How to restore the system with one click on Lenovo laptop
Rhcsa Road
芯片供应转向过剩,中国芯片日产增加至10亿,国外芯片将更难受
China's intelligent transportation construction from the perspective of "one hour life circle" in Dawan District
你还在用收费的文档管理工具?我这有更牛逼的选择!完全免费
Research and investment strategy report of hydroxypropyl beta cyclodextrin industry in China (2022 Edition)
[daily question] 1175 Prime permutation
【Kotlin】高阶函数介绍