当前位置:网站首页>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
边栏推荐
- Preliminary study on golang crawler framework
- Example of vim user automatic command
- Tutorial on principles and applications of database system (004) -- MySQL installation and configuration: resetting MySQL login password (Windows Environment)
- 广东用电量大跌,说明高新技术产业替代高能耗产业已取得初步成果
- Zabbix2.2 monitoring system and application log monitoring alarm
- Endeavouros mobile hard disk installation
- VMware 虛擬機啟動時出現故障:VMware Workstation 與 Hyper-v 不兼容...
- 今天14:00 | 港大、北航、耶鲁、清华、加大等15位ICLR一作讲者精彩继续!
- 数据库系统原理与应用教程(004)—— MySQL 安装与配置:重置 MySQL 登录密码(windows 环境)
- 如何使用phpIPAM来管理IP地址和子网
猜你喜欢

How to repair the laptop that cannot connect to the wireless network

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

Principle of motion capture system

Template engine velocity Foundation

今天14:00 | 港大、北航、耶鲁、清华、加大等15位ICLR一作讲者精彩继续!
![[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](/img/a4/58b942d1389834069e9a6ec9f8ee0a.png)
[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

软件工程导论——第六章——详细设计

瑞典公布决定排除华为5G设备,但是华为已成功找到新出路

How to cancel automatic search and install device drivers for laptops

独家消息:阿里云悄然推出RPA云电脑,已与多家RPA厂商开放合作
随机推荐
Research and investment strategy report of China's sodium sulfate industry (2022 Edition)
SystemVerilog-结构体(二)
How to use MySQL language for row and column devices?
Rhcsa Road
Comprehensively view the value of enterprise digital transformation
数据库系统原理与应用教程(003)—— MySQL 安装与配置:手工配置 MySQL(windows 环境)
PostgreSQL 存储结构浅析
EndeavourOS移动硬盘安装
Detailed explanation of activity life cycle and startup mode
數據庫系統原理與應用教程(006)—— 編譯安裝 MySQL5.7(Linux 環境)
Tutorial on principles and applications of database system (006) -- compiling and installing MySQL 5.7 (Linux Environment)
今天14:00 | 港大、北航、耶鲁、清华、加大等15位ICLR一作讲者精彩继续!
How to use phpipam to manage IP addresses and subnets
免费抽奖 | 《阿巴豆》探索未来系列盲盒数字版权作品全网首发!
sql刷题586. 订单最多的客户
博睿数据一体化智能可观测平台入选中国信通院2022年“云原生产品名录”
UML tourism management system "suggestions collection"
【Hot100】17. Letter combination of telephone number
游戏行业安全选择游戏盾,效果怎么样?
怎么用MySQL语言进行行列装置?