How to find top three highest salary in emp
table in oracle?
相关问题
- SQL join to get the cartesian product of 2 columns
- sql execution latency when assign to a variable
- Difference between Types.INTEGER and Types.NULL in
- php PDO::FETCH_ASSOC doesnt detect select after ba
- Bulk update SQL Server C#
Something like the following should do it.
You could use
DBMS_STAT_FUNCS.Summary
:Output:
Above query gives three highest salary with DISTINCT.