mysql php中SELECT * FROM user ORDER BY time WHERE time >= 1111-11-11 10:10:10会报错,而SELECT * FROM user ORDER BY time和SELECT * FROM user WHERE time >= 1111-11-11 10:10:10都正常,这是为什么?以前都是用thinkphp封装的类操作数据库,最近采用原生mysql写一下子就卡壳了。
添加回答
举报
0/150
提交
取消