当前位置:网站首页>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
边栏推荐
- How to repair the laptop that cannot connect to the wireless network
- 怎麼用MySQL語言進行行列裝置?
- 嗨 FUN 一夏,与 StarRocks 一起玩转 SQL Planner!
- 阿里云、追一科技抢滩对话式AI
- Research and investment strategy report of China's sodium sulfate industry (2022 Edition)
- [observation] where is the consulting going in the digital age? Thoughts and actions of softcom consulting
- P2592 [ZJOI2008]生日聚会(dp)
- Research and investment strategy report of hydroxypropyl beta cyclodextrin industry in China (2022 Edition)
- 数据库系统原理与应用教程(001)—— MySQL 安装与配置:MySQL 软件的安装(windows 环境)
- 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
What is the effect of choosing game shield safely in the game industry?
全面看待企业数字化转型的价值
Défaillance lors du démarrage de la machine virtuelle VMware: le poste de travail VMware n'est pas compatible avec hyper - V...
广东用电量大跌,说明高新技术产业替代高能耗产业已取得初步成果
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
数据库系统原理与应用教程(003)—— MySQL 安装与配置:手工配置 MySQL(windows 环境)
Sweden announced its decision to exclude Huawei 5g equipment, but Huawei has successfully found a new way out
Detailed explanation of activity life cycle and startup mode
How to repair the laptop that cannot connect to the wireless network
随机推荐
SystemVerilog-结构体(二)
怎么用MySQL语言进行行列装置?
游戏行业安全选择游戏盾,效果怎么样?
sql刷题1050. 合作过至少三次的演员和导演
What is the effect of choosing game shield safely in the game industry?
StoneDB 为国产数据库添砖加瓦,基于 MySQL 的一体化实时 HTAP 数据库正式开源!
【观察】数字化时代的咨询往何处走?软通咨询的思与行
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
独家消息:阿里云悄然推出RPA云电脑,已与多家RPA厂商开放合作
Mlperf training v2.0 list released, with the same GPU configuration, the performance of Baidu PaddlePaddle ranks first in the world
剑指 Offer II 015. 字符串中的所有变位词
P2592 [ZJOI2008]生日聚会(dp)
UML旅游管理系统「建议收藏」
P2893 [usaco08feb] making the grade g (DP & priority queue)
模板引擎Velocity 基礎
Detailed explanation of activity life cycle and startup mode
China nylon 11 industry research and future forecast report (2022 Edition)
How to optimize repeated if err in go language= Nil template code?
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
How to restore the system of Sony laptop