Handling the BOTTOM Function in Sql Server

Handling the BOTTOM Function in SQL Server

In this chapter, we will learn how to Select bottom rows in SQL server.
Sponsored links

Lets we have table tbl_employee

Name Wage
Mike $250
Jack $328
Gonaa $450
Darek $678
jacob $1000
Michel $870

SELECT TOP 2 names, wage FROM tbl_Employee
ORDER BY wage DESC

Result:

Add Comment