首页 > 后端开发 > php教程 > php?sql语句

php?sql语句

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
发布: 2016-06-23 13:23:13
原创
754 人浏览过



我想查出 开始日期(event_start_time)或 结束日期(event_end_time)在 2015-11的所有数据
这个 where 语句要怎么写?


回复讨论(解决方案)

.... where data_format(event_start_time, '%Y-%m') = '2015-11' or data_format(event_end_time, '%Y-%m') = '2015-11'

.... where data_format(event_start_time, '%Y-%m') = '2015-11' or data_format(event_end_time, '%Y-%m') = '2015-11'



data_format does not exist
相关标签:
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
打印sql语句
来自于 1970-01-01 08:00:00
0
0
0
mysql - 求SQL语句
来自于 1970-01-01 08:00:00
0
0
0
错误位置,SQL语句
来自于 1970-01-01 08:00:00
0
0
0
php - sql语句拼接 报错
来自于 1970-01-01 08:00:00
0
0
0
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板