How to get LAST ROW in SQL

preview_player
Показать описание
This video is about how to get LAST ROW in SQL.

Script:
SELECT TOP 1 *
ORDER BY ID DESC

Keywords:
how to get last ROW in SQL, sql last row, sql last row and first row, sql last row only, last record in sql, last record sql, get last row in sql, get last row sql, get last record in sql, get last record sql, sql last row where, last row sql, last row sql query, last record sql, last row select sql, select last record sql, get last record sql, sql get last record sql, sql server, learn sql, sql
Рекомендации по теме
Комментарии
Автор

this works but it will give the names from the last, but we want the last few rows to display in the same way its on the table

ArnavBorthakur