看看我的blog
blog.csdn.net/ern
最新一篇笔记里面有关于这个的部分
另外看看http://community.csdn.net/Expert/topic/3983/3983716.xml?temp=.3372919
http://community.csdn.net/Expert/topic/3983/3983716.xml?temp=.3372919
http://218.94.123.17/viewthread.php?tid=31313
blog.csdn.net/ern
最新一篇笔记里面有关于这个的部分
另外看看http://community.csdn.net/Expert/topic/3983/3983716.xml?temp=.3372919
http://community.csdn.net/Expert/topic/3983/3983716.xml?temp=.3372919
http://218.94.123.17/viewthread.php?tid=31313
另外在oracle文档的data warehouse guide中好像是第12章,有关于分析函数的详细介绍,你可以看看
[A]8i以上版本,利用分析函数
如获取每个部门薪水前三名的员工或每个班成绩前三名的学生。
Select * from
(select depno,ename,sal,row_number() over (partition by depno
order by sal desc) rn
from emp)
where rn<=3 [Q]怎么样把相邻记录合并到一条记录
[A]8i以上版本,分析函数lag与lead可以提取后一条或前一天记录到本记录。
Select deptno,ename,hiredate,lag(hiredate,1,null) over
(partition by deptno over by hiredate,ename) last_hire
from emp
order by depno,hiredate [Q]如何取得一列中第N大的值?
[A]select * from
(select t.*,dense_rank() over (order by t2 desc) rank from t)
where rank = &N;
这本书我下载不下来啊。好像已经关了,谁能给我发一份吗?
或者告诉我下载地址。
谢谢各位了
可是不能下载啊。您试试。我只能下来一个php的文件