Skip to content
Advertisement

Get last record of a table in Postgres

I’m using Postgres and cannot manage to get the last record of my table:

How can I do that knowning that timestamp is a unique identifier of the record ?

Advertisement

Answer

If under “last record” you mean the record which has the latest timestamp value, then try this:

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement