D
damodarnarayana
Table - employee_1
E_ID E_Name Salary
1 Pavan Kumar 5000
2 Ashok 2000
3 Gangadhar 4000
4 Riyaz 2000
5 Kalyan 1000
6 Param 6000
7 Ganesh 7000
8 Pavan Kumar Reddy 8000
9 Vijay 9000
10 Praveen 10000
I had written below query for retrieving the top 4 and 5th values from
a table, but i am not able to retrieve the result,
SELECT TOP 5 employee_1.salary
FROM employee_1
ORDER BY employee_1.salary DESC;
Please help me in this query
Thanks & Regards,
Damodar.M
E_ID E_Name Salary
1 Pavan Kumar 5000
2 Ashok 2000
3 Gangadhar 4000
4 Riyaz 2000
5 Kalyan 1000
6 Param 6000
7 Ganesh 7000
8 Pavan Kumar Reddy 8000
9 Vijay 9000
10 Praveen 10000
I had written below query for retrieving the top 4 and 5th values from
a table, but i am not able to retrieve the result,
SELECT TOP 5 employee_1.salary
FROM employee_1
ORDER BY employee_1.salary DESC;
Please help me in this query
Thanks & Regards,
Damodar.M