Postgres siehe Sequenzstromzustand
SELECT last_value FROM sequence_name;
Stormy Stoat
SELECT last_value FROM sequence_name;