SQL LAST Function With Example

LAST() Function In SQL - How to Use the Last Function in SQL?

Last Function in SQL with example

Last Function Is used To Display Last Record From The selected Column

LAST() Syntax-
The Basic Syntax For the Last Function is given Below

SELECT LAST(Column_name) FROM table_name;

Last() Function Example

SELECT LAST(StudentName) FROM Student;

In Above Example It will Display The Last Name From the Student Name column

NOTE- The LAST() function is only supported in MS Access.

Hope!!! The above Tutorial on the Last function With an Example is helpful For you...

QA acharya


Post a Comment