LAST function in MySQL
MySQL LAST To get the last value of a column, the MySQL LAST function is used. Syntax: SELECT column, FROM table_name ORDER BY column_name DESC LIMIT 1; Example 1: Students Table: ID NAME AGE 1 Joy 10 2 Smiley 13 3 Happy 11 4 James 13 5 Bond 10 Query: SELECT name FROM … Read more