我要实现的功能是:
table1
a,b,c,d,e为字段名
------------
a b c d e1 2 4 5 7
1 2 4 5 7
1 2 4 5 7
查询结果为:
---------------
a b c d e
1 2 4 5 7
table1
a,b,c,d,e为字段名
------------
a b c d e1 2 4 5 7
1 2 4 5 7
1 2 4 5 7
查询结果为:
---------------
a b c d e
1 2 4 5 7
解决方案 »
- 关于excel中Listview控件字符显示问题
- SQL Server中,修改表结构时,如果表中数据量大的话,每次修改都要花费很多时间。如果降低时间开销?
- ACCESS里导出DBF文件的语句应该怎样写?
- 更新sql server的datetime类型数据
- 急求一条Sql查询语句
- select * from tbapply where fdid in(select fdcard from rsdata_employee)求一种效率更高的和实现上面功能的SQL语句.
- 求助sqlserver显示百分数
- 存储过程的简单问题,大家快来帮忙呀?
- 有谁用过benthicsoftware?
- Sybase for NT下如何清空日志?
- 如何复制表
- 为什么是owner后无法这样连接数据库?
table1
a,b,c,d,e为字段名
------------
a b c d ed 2 4 s 7
f 2 f e s
d 2 c 5 7
查询结果为:
---------------
a b c d e
d 2 4 s 7
f 2 f e s
d 2 c 5 7
这2行?
select a,b,c,d,e,count(*) as fild1 from tablename
group by a,b,c,d,e) table1
where fild1>1
http://blog.csdn.net/ningoo/archive/2005/01/07/244503.aspx