当前位置:网站首页>MySQL比较运算符IN问题求解
MySQL比较运算符IN问题求解
2022-07-02 09:34:00 【CSDN问答】
关于比较运算符IN
我看书上、教程视频上、网上,都是这么介绍的:
判断给定值是否是IN列表中的一个值。如果是,返回1,否则返回0。如果给定值为NULL,或者IN列表存在NULL,则结果为NULL。
可是 SELECT 1 IN (1, NULL) 的结果是1,而不是NULL。
这是为什么?不是说 或者IN列表存在NULL,则结果为NULL嘛??

边栏推荐
- Array splitting (regular thinking
- [AGC] build service 3 - authentication service example
- TIPC messaging3
- TIPC Cluster5
- Special topic of binary tree -- acwing 1589 Building binary search tree
- [quick application] win7 system cannot run and debug projects using Huawei ide
- C# 文件与文件夹操作
- 每月1号开始计算当月工作日
- [AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?
- Approximate sum count (approximate
猜你喜欢

QT learning diary 8 - resource file addition

2022 love analysis · panoramic report of digital manufacturers of state-owned enterprises

VS2019代码中包含中文内容导致的编译错误和打印输出乱码问题

Pit of the start attribute of enumrate

TIPC Service and Topology Tracking4
![Binary tree topic -- Luogu p3884 [jloi2009] binary tree problem (DFS for binary tree depth BFS for binary tree width Dijkstra for shortest path)](/img/c2/bb85b681af0f78b380b1d179c7ea49.png)
Binary tree topic -- Luogu p3884 [jloi2009] binary tree problem (DFS for binary tree depth BFS for binary tree width Dijkstra for shortest path)

Importerror: impossible d'importer le nom « graph» de « graphviz»

从攻击面视角,看信创零信任方案实践

What are the software product management systems? Inventory of 12 best product management tools

Special topic of binary tree -- Logu p1229 traversal problem (the number of traversals in the middle order is calculated when the pre and post order traversals of the multiplication principle are know
随机推荐
TIPC protocol
Special topic of binary tree -- acwing 18 Rebuild the binary tree (construct the binary tree by traversing the front and middle order)
enumrate的start属性的坑
Complement (Mathematical Simulation
接口调试工具概论
TIPC Service and Topology Tracking4
ImportError: cannot import name ‘Digraph‘ from ‘graphviz‘
Leetcode 182 Find duplicate email (2022.07.01)
三.芯片启动和时钟系统
[AI application] Hikvision ivms-4200 software installation
ctf 记录
The difference between SQL left join main table restrictions written after on and where
高德根据轨迹画线
TIPC Cluster5
对毕业季即将踏入职场的年轻人的一点建议
[ark UI] implementation of the startup page of harmonios ETS
SSRF
III Chip startup and clock system
TIPC messaging3
Importerror: impossible d'importer le nom « graph» de « graphviz»