LAST

The LAST() function returns the last value of the selected column.

Syntax

“LAST”(COLUMN_NAME)

Example

SELECT “LAST”(“ProductName”) FROM Products;