当前位置:网站首页>For MySQL= No data equal to null can be found. Solution
For MySQL= No data equal to null can be found. Solution
2022-07-04 21:26:00 【monody666】
for example , A field has null、“0”、“1” Three , Because the default value is null, Sometimes you need to query null perhaps 0 The data of . If you use it directly xxx != “1”, Only query “0” Of . All need to be written in other ways .
1.xxx IS NULL OR xxx != "1"
2.NOT(xxx <=> "1")
because = Can't compare null,<=> Sure .(<> amount to !=, Can't afford to <=> This kind of inclusion null Comparative effect )
边栏推荐
- c语言函数形参自增自减情况分析
- NetWare r7000 Merlin system virtual memory creation failed, prompting that the USB disk reading and writing speed does not meet the requirements. Solution, is it necessary to create virtual memory??
- WGCNA analysis basic tutorial summary
- 【公开课预告】:视频质量评价基础与实践
- Huawei ENSP simulator layer 3 switch
- 插入排序,选择排序,冒泡排序
- minidom 模块写入和解析 XML
- Nmap scan
- Huawei ENSP simulator configures ACL access control list
- 解读创客教育中的各类智能化组织发展
猜你喜欢

JS卡牌样式倒计时天数

Huawei ENSP simulator enables devices of multiple routers to access each other

网件r7000梅林系统虚拟内存创建失败,提示USB磁盘读写速度不满足要求解决办法,有需要创建虚拟内存吗??

Explication détaillée du mécanisme de distribution des événements d'entrée multimodes

HWiNFO硬件检测工具v7.26绿色版

仿ps样式js网页涂鸦板插件

【公开课预告】:视频质量评价基础与实践

解析steam教育中蕴含的众创空间

Golang中UTF编码和字符集

D3.js+Three.js数据可视化3d地球js特效
随机推荐
Day24:文件系统
HWiNFO硬件检测工具v7.26绿色版
Jerry added the process of turning off the touch module before turning it off [chapter]
Redis transaction
[solution] paddlepaddle 2 X call static graph mode
为什么说不变模式可以提高性能
MP3是如何诞生的?
偷窃他人漏洞报告变卖成副业,漏洞赏金平台出“内鬼”
numpy vstack 和 column_stack
【optimtool.unconstrain】无约束优化工具箱
Jerry's ad series MIDI function description [chapter]
Day24: file system
Roast B station charges, is it because it has no money?
Daily question -leetcode1200- minimum absolute difference - array - sort
Methods of improving machine vision system
冰河的海报封面
c语言函数形参自增自减情况分析
shp数据制作3DTiles白膜
EhLib 数据库记录的下拉选择
Test case (TC)