Chinaunix首页 | 论坛 | 博客
  • 博客访问: 576547
  • 博文数量: 226
  • 博客积分: 10080
  • 博客等级: 上将
  • 技术积分: 1725
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-26 11:15
文章分类

全部博文(226)

文章存档

2011年(5)

2010年(64)

2009年(99)

2008年(37)

2007年(21)

我的朋友

分类: LINUX

2008-11-18 20:04:03

select  Count(*),to_char(exec_time,'YYYY-MM-DD   hh24:')||decode(trunc(to_char(exec_time,'mi')/10),0,'00',1,'10',2,'20',3,'30',4,'40',5,'50')   
  from   ti_c_order  Where  exec_time>=to_date('2008-11-17 00:00:00','YYYY-MM-DD HH24:MI:SS') And  exec_time  group   by  to_char(exec_time,'YYYY-MM-DD   hh24:')||decode(trunc(to_char(exec_time,'mi')/10),0,'00',1,'10',2,'20',3,'30',4,'40',5,'50')   
  Order By to_char(exec_time,'YYYY-MM-DD   hh24:')||decode(trunc(to_char(exec_time,'mi')/10),0,'00',1,'10',2,'20',3,'30',4,'40',5,'50')    
  
阅读(773) | 评论(0) | 转发(0) |
0

上一篇:什么是 DHCP?

下一篇:oracle

给主人留下些什么吧!~~