For example, the table has columns MYINDEX and NAME.
MYINDEX | NAME ================= 1 | BOB 2 | BOB 3 | CHARLES
Ho do
If you want to skip the inner join, you could do:
SELECT * FROM table WHERE NAME = 'BOB' ORDER BY MYINDEX DESC LIMIT 1;