摘要: to_date '08-30' 到 '08-30' 是没有数据的 必须加水 >=to_date('2016-08-30 00:00:00','yyyy-MM-dd hh24:mi:ss') ) select * from T_A a where a.begintime=to_date('2013-1 阅读全文
posted @ 2016-08-29 18:42 F领主 阅读(188) 评论(0) 推荐(0) 编辑
摘要: --SELECT A COUNT(B) FROM TABLE GROUP BY A HAVING COUNT(B)>2 //group by 分组;having 分钟之后过滤 --and (rrbd.paytype = 1 or rrbd.paytype = 2) //or运算要在()里!!!! s 阅读全文
posted @ 2016-08-29 10:31 F领主 阅读(152) 评论(0) 推荐(0) 编辑