For example, the table has columns MYINDEX and NAME.
MYINDEX | NAME ================= 1 | BOB 2 | BOB 3 | CHARLES
Ho do
SELECT Max(MYINDEX) FROM table WHERE NAME = [insertNameHere]
EDIT: to get the whole row:
Select * //never do this really From Table Where MYINDEX = (Select Max(MYINDEX) From Table Where Name = [InsertNameHere]