我想实现以上查询,请兄弟们帮忙!
解决方案 »
- 程序查询时长时间没有反应,重启SQL服务后才能正常查询
- 求一条sql语句 ??
- 關於RullUp。急用,隻想到這種方法,希望大家幫幫我看看!
- SQL Server Browser 是干嘛用的
- C#,连接SQL数据库时,字符串长度为7000多,它说不能输入,怎么班?
- 数据库导入数据只想导一列怎么做?急急急急急急急急急急急急急!!!
- 请教一个问题sql2005中分区表与事务隔离级别及锁定相关
- 十万火急~~~~~~~~~~~
- 请问关于数据库的设计问题??
- 新手,不清楚属于那个方面的问题,请进来帮我看看。
- WINDOWS 2008 SERVER 安装SQL SERVER 内存使用15.5G
- sql2000查询分析器问题
select convert(varchar(10),info_date,120),avg(info_used)
from tb group by convert(varchar(10),info_date,120),
FROM TABLE
GROUP BY id
from td group by infodate
group by convert(char(10),info_date,120)
select info_date,avg(info_used) as info_used from tb group by info_date
select convert(char(10),info_date,120) as info_date,avg(info_used) as info_used
from tb
group by convert(char(10),info_date,120)
from tb
group by convert(char(10),info_date,120)
+++