当前位置:网站首页>查询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
边栏推荐
- China creates vast research infrastructure to support ambitious climate goals
- Pycharm连接远程服务器并实现远程调试
- PySide2
- websocket
- MySQL 修改主数据库
- 微信小程序获取登录用户信息、openid和access_token
- 全局变量能否放在头文件中定义
- Call wechat customer service applet
- Quartus prime hardware experimental development (de2-115 board) experiment II function adjustable comprehensive timer design
- 理解虚基类、虚函数与纯虚函数的概念(转)
猜你喜欢
基于微信小程序的wifi模块使用
Three point positioning based on ibeacons (wechat applet)
Cdh6 based on CM management 3.2 cluster integration atlas 2 one
go 语言 数组,字符串,切片
poi操作word模板替换数据并且导出word
Choreographer全解析
scikit-learn构建模型的万能模板
Taobao released the baby prompt "your consumer protection deposit is insufficient, and the expiration protection has been started"
Business case | how to promote the activity of sports and health app users? It is enough to do these points well
Basic knowledge learning record
随机推荐
Un modèle universel pour la construction d'un modèle d'apprentissage scikit
Quartus prime hardware experimental development (de2-115 board) experiment II function adjustable comprehensive timer design
Chapter I review of e-commerce spike products
Kettle -- control parsing
go 语言 数组,字符串,切片
DeepinV20安装Mariadb
Program compilation and debugging learning record
理解虚基类、虚函数与纯虚函数的概念(转)
Nodejs安装及环境配置
Pytorch 经典卷积神经网络 LeNet
How does redis solve the problems of cache avalanche, cache breakdown and cache penetration
Introduction to spark basic operation
基于ibeacons签到系统
Restful WebService和gSoap WebService的本质区别
JDBC入门
1256:献给阿尔吉侬的花束
金蝶云星空API调用实践
New关键字的学习和总结
Business case | how to promote the activity of sports and health app users? It is enough to do these points well
smart-doc + torna生成接口文档