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#
Limit The Query To Display Only The Top 3 Highest Paid Employees. : Query « Oracle PL / SQL
select top(3) min(Name),TotalSalary,ROW_NUMBER() OVER (Order by TotalSalary desc) AS RowNumber FROM tbl_EmployeeProfile group by TotalSalary
Without using TOP, ROWID, rank etc. Works with oldest sql also