Highest value of an auto_increment field

wxdqz

New Member
Does anybody know of a fast way of finding the highest value of an auto_incrment field in mySQL?

The fastest way I came up with was:
SELECT id from polls ORDER by id desc

Thanks
 
Back
Top