Marco H. answered 04/15/19
Sr. Data Eng. SQL Expert in Designing DB and Developing SQL
To get the second largest value, you need to sort the associated column in descending order and apply LIMIT and OFFSET together as follows:
SELECT * FROM Customers Order By CustomerID Desc
Limit 1 Offset 2;
And here is another way of fetching the second largest value in SQL Server.
SELECT * FROM Customers Order By CustomerID Desc
Offset 1 Rows Fetch Next 1 Rows Only;