SQL SQL LAST() FUNCTION December 29, 2021December 29, 2021 Abdul Mohammad (AMD) 0 Comments SQL LAST()FUNCTION SQL LAST() FUNCTION The LAST() function returns the last value of the selected column. SYNTAX SELECT LAST(column_name) FROM table_ name EXAMPLE SELECT OrderPrice FROM Orders ORDER BY 0_ id DESC LIMIT 1 RESULT LastOrderPrice 300