So I have a database, in this database I have two tables, items and pasts. In the pasts table I have a reference to the ID in the items table.
So I have a PHP script that needs to enter a past when and item is entered. So my question is, is there an sql query that will help me get the most recent item entries ID? I do not have timestamps on either table. I just want to pull out the id, is there anyway to do this?