select a,b,c, count(*) over(),avg(a) over() from t
解决方案 »
- Oracle语句 'ORA-01427: 单行子查询返回多个行'.
- 根据百分比,例如55.55%,百分比精确2位的。如果是90%为100分,下降0.1个百分点扣2分,扣完就是0分,怎么写呀
- 关于oracle英文字符集乱码的问题,查询显示乱码的问题。
- 我想问一下 oracle7.3的数据怎么可以导入到oracle9里面?
- plsql 能用Cursor作In参数么?
- 急!!!!!!!!!!!!
- *.dbf文件和*.ora文件的区别
- 关于文本字段的处理
- 求助一个sql语句查询的问题。
- 如何从ORACLE数据库中导出海量的数据?
- 哪有oracle书籍?
- 请问PLSQL Developer是否可以连接SQL server20000?
那么有9个值,再加上行数为3,平均数比方为5;
那么我可以把结果集放在一个集合里,前9个为 select a,b,c from table where x=y返回的值,
在接下去就是3,5。
我的表达能力实在是太差了,不好意思!
union all
select a from t
union all
select c from t
union all
select count(*) from t
union all
selct avg(a) from t
union all
select b from t where x= y
union all
select c from t where x= y
union all
select count(*) from t
union all
selct avg(a) from t
select a from tb where x=y union all
select b from tb where x=y union all
select c from tb where x=y union all
select count(*) from tb union all
select avg(a) from tb;