How to select the last row of a particular CustomerID in SQL using the command?
How to select the last row of a particular CustomerID in SQL using the command?
29222-Sep-2021
Updated on 22-Sep-2021
Home / DeveloperSection / Forums / How to select the last row of a particular CustomerID in SQL using the command?
Ashutosh Kumar Verma
27-Sep-2021SQL command is to select the particular last row:
The SQL statement is used to find the last row of any particular Person.
Lets take a database table 'Persons',
Now, the following SQL statement is used to find the last row of particular Person 'Ashu' in above table.
Another following SQL statement is used to find the last row of particular Person 'Shriyam' in above table.