TABLE EMP(DEPT_ID, ENAME, SALARY)。如何LIST 每个部门中SALARY 由高到低的前五位。
请教一个SQL QUERY的问题。谢谢!
所有跟帖:
•
回复:请教一个SQL QUERY的问题。谢谢!
-小丹尼-
♂
(92 bytes)
()
07/20/2009 postreply
10:05:41
•
Sorry about my incomplete info. I mean in oralce. Thank you for
-小虾米-
♀
(0 bytes)
()
07/20/2009 postreply
10:32:52
•
回复:Sorry about my incomplete info. I mean in oralce. Thank you f
-小丹尼-
♂
(91 bytes)
()
07/20/2009 postreply
10:51:26
•
Thank you! I am reading some articles and they mentioned using R
-小虾米-
♀
(0 bytes)
()
07/20/2009 postreply
11:01:29
•
对不起,这个sql语句有些问题,你先不要用
-小丹尼-
♂
(16 bytes)
()
07/20/2009 postreply
11:01:10
•
不好意思,前面误人子弟了。需要用ORACLE的分组排序
-小丹尼-
♂
(0 bytes)
()
07/20/2009 postreply
11:21:08
•
I figured it out, but used long and repeated query. I don't know
-小虾米-
♀
(63 bytes)
()
07/20/2009 postreply
11:28:56
•
这个问题好像别人问过
-小丹尼-
♂
(144 bytes)
()
07/20/2009 postreply
11:43:06
•
看看这个方案
-小丹尼-
♂
(1477 bytes)
()
07/20/2009 postreply
11:46:26
•
You are awesome! I used RANK and make it work. THANK YOU!
-小虾米-
♀
(0 bytes)
()
07/20/2009 postreply
12:07:29
•
小虾米,出难题. 小丹尼, 挺招急. 要答案, 看这里.
-美国老土-
♂
(3948 bytes)
()
07/20/2009 postreply
14:36:45
•
谢老土,我也用了一样的QUERY。要学的东东真多啊!
-小虾米-
♀
(0 bytes)
()
07/20/2009 postreply
15:52:22