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 = 'BOB'
For the whole row, do:
SELECT * FROM table WHERE NAME = 'BOB' AND MyIndex = (SELECT Max(MYINDEX) from table WHERE NAME = 'BOB')