Hi,
THe quick-and-dirty (If you have more then one user updating this is very risky!), prob. needs some comma's etcec:
select * from table sort by ID descending limit 1
Or else: you have probably some unique features: Select for those features, and then get the last record from that. (THat is what I use:
select * from table where SOMECONDITIONS order by ID descending limit 1
Cheers,
J.