You need to query the table and sort the results in descending order by the primary key or timestamp to display the latest record. If you want to prevent the addition of duplicate records, you can set a unique constraint on the relevant columns.
DB ACCESS for Keeps Adding a New Record vs Displaying the Latest Record from Table
DB ACCESS, also known as Database Access or simply DBA, is a term used to describe the process of accessing and manipulating data stored in a database system. One common task in DBA is adding new records to a database table, and another is retrieving the latest record from the table. However, there can be some confusion about the differences between these two tasks.