SELECT LAST (column_name) FROM table_name;
https://www.javatpoint.com/sql-select-last
How to select the last record of a table in SQL?