How can We see last 50 Records of a Table?
Rajeev Kumar
Select an image from your device to upload
Select Top 50 Column_Name from Table Order by Column_Name desc
To see the last 50 records of a table in SQL Server, you can use the TOP clause in combination with the ORDER BY clause to sort the records in descending order based on the primary key or any other column that defines the order of records in the table.
SELECT TOP 50 * FROM my_table ORDER BY id DESC;
This query selects the top 50 records from the my_table table and sorts the records in descending order based on the id column, which is assumed to be a primary key that defines the order of records in the table.
Select top 50 from YourTableName order by YourIdColumn desc
Answer submitted multiple times. Not sure why And I do not have option to delete this answer
Select top 50 with order by desc datecreated option…