Do you have a timestamp field on your table? You could do something like:
SELECT id
FROM schema.table
ORDER BY tstamp DESC
FETCH FIRST ROW ONLY
If you don't, I'm not sure how you plan on defining "latest" (since you said in the other answer's comments that this is an alpha-numeric field that isn't necessarily in "order").