Hi Mejar. Welcome to TSDN!
Brettl is almost right. The first part of his query will give you what you need:
-
SELECT max(id), name, address FROM user
-
Or, if you don't know how many fields there are:
-
SELECT max(id), * FROM user
-
P.S.
I've moved your thread over to the MySQL Forums and re-named it to better describe it's contents.
Please try to post your threads in the appropriate forum and give it a descriptive title.
Take a look at our
Posting Guidelines for more info on our posting policies and hints on what makes a good thread title.