The LAST() function returns the last value of the selected column.
We have the following "Purchases" table:
Now we want to find the last value of the "OrderPrice" column.
We use the following SQL statement:
Hint: Workaround if LAST() function is not supported:
The result-set will look like this:
Your Query was successfully sent!