当前位置:网站首页>查询2013年到2021年的数据,只查询到2020的数据,遇到了这个问题所进行的解决办法
查询2013年到2021年的数据,只查询到2020的数据,遇到了这个问题所进行的解决办法
2022-04-23 14:04:00 【黄哈哈~】
sql中取到2021,只查到2020年的数据,其余2021年的数据查出来了,然后单独查询这个系列的2021年的数据,它是有数据的,这是我遇到比较奇怪,变态的问题。
解决办法:
在年份plan_year=‘2013’后面加一个连接符号和两个单引号||’’,2021年的数据成功查询出来了,记录一下这个变态问题。已提醒自己!!!!
版权声明
本文为[黄哈哈~]所创,转载请带上原文链接,感谢
https://blog.csdn.net/Miss_HuangT/article/details/116232053
边栏推荐
- L2-024 tribe (25 points)
- poi操作word模板替换数据并且导出word
- Chapter 15 new technologies of software engineering
- Chapter I review of e-commerce spike products
- 可否把模板的头文件和源文件分开编译
- Special test 05 · double integral [Li Yanfang's whole class]
- JS brain burning interview question reward
- Pycharm连接远程服务器并实现远程调试
- 基础知识学习记录
- 室内外地图切换(室内基于ibeacons三点定位)
猜你喜欢
基于CM管理的CDH6.3.2集群集成Atlas2.1.0
scikit-learn構建模型的萬能模板
浅谈基于openssl的多级证书,Multi-level CA的签发和管理,以及双向认证
RobotFramework 之 项目框架
Promtail + Loki + Grafana 日志监控系统搭建
MYSQL 主从同步避坑版教程
蓝绿发布、滚动发布、灰度发布,有什么区别?
The latest development of fed digital currency
Record a strange bug: component copy after cache component jump
Indoor and outdoor map switching (indoor three-point positioning based on ibeacons)
随机推荐
RobotFramework 之 公共变量
Indoor and outdoor map switching (indoor three-point positioning based on ibeacons)
微信小程序 input隐藏和不可操作的设置
基于Ocelot的gRpc网关
快速安装mongodb
Wechat applet obtains login user information, openid and access_ token
Intégration de Clusters CDH Phoenix basée sur la gestion cm
关于stream流,浅记一下------
程序编译调试学习记录
力扣刷题 101. 对称二叉树
Quartus Prime硬件实验开发(DE2-115板)实验一CPU指令运算器设计
多重继承虚基类习题
POI operation word template replaces data and exports word
VsCode-Go
Restful WebService和gSoap WebService的本质区别
Un modèle universel pour la construction d'un modèle d'apprentissage scikit
微信小程序与低功耗蓝牙通信-接受硬件端发送来的数据(四)
Business case | how to promote the activity of sports and health app users? It is enough to do these points well
Ptorch classical convolutional neural network lenet
BUG_me