Get The Latest Record in MySql

20 Jul 2020

In order to see when was your latest update in your table, you can use the following sql query to get the latest record:

SELECT * FROM table_name
WHERE date = (SELECT MAX(date) FROM table_name);

Just change table_name and date field with the correct table name and the field that include the date modification in your table

Notes