SQL LAST Function


 LAST() Function In SQL

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

LAST() Synatx-The Basic Synatx For Last Function given Below

SELECT LAST(Column_name) FROM table_name;

Last() Function Example

SQL Query-
SELECT LAST(StudentName) FROM Student;

In Above Example It will Display The Last Name From StudentName column

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


Post a Comment