982 1
How to Select LAST N Row in SQL Server

I am not very much efficient in SQL Query so wanted to know how to fetch last N records or rows from a table using query in SQL Server.

Like, we can do using TOP keyword in SQL Server to fetch first 10 results as below

...
Type
Question
1163 0
GO Statement in sql server
In this article, I have mentioned about Go statement in SQL server and how to use Go command in SQL Server with example.
Type
Article
3908 0
Extract String after a character or before character in SQL Server
In this article, i have mentioned how we can Extract String after a character or before character in SQL Server with examples
Type
Article
3462 0
Convert Int To String (varchar) in SQL Server
In this article, I have mentioned how we can convert Int to string (varchar) in SQL Server using examples
Type
Article
1646 0
If-Else in SQL Server with Example
In this article, I have mentioned how we can include if-else in SQL Server Query with an example
Type
Article

5671 0
Common Table Expressions (CTE) in Sql server
In this article, I have explained what is Common Table Expression (CTE), Advantages of using CTE and Recursive CTE in SQL using SQL server based example.
Type
Article
1316 0
Find Duplicate Rows in SQL Server
In this article, I have mentioned how we can find duplicate rows of a table using SQL Server Query with an example.
Type
Article
3159 0
Change theme in SQL Server Management Studio (SSMS, Dark Mode)
In this article, I have mentioned how we can change SQL Server Management Studio (ssms) to dark mode theme, with little changes.
Type
Article
2827 0
Best SQL Server Tools for SQL Developers.
In this article, we have provided list of best SQL Server Tools (paid or free), which you can use with SQL Server with its features.
Type
Article
7213 0
Validate Email address in SQL Server
In this article, I have provided example query, by executing which you can validate email address in SQL Server.
Type
Article

Page 3 of 11