Alex Rivera | Logout

How do I select an entire row which has the largest ID in the table?

Asked 2011-09-30T00:47:22.557
168

How would I do something like this?

SQL SELECT row FROM table WHERE id=max(id)
Edit
Report

1 Answer

29
SELECT * 
FROM table 
WHERE id = (SELECT MAX(id) FROM TABLE)
answered 2011-09-30T00:50:38.073

Your Answer