[RESOLVED] How to get OLDEST row in table and DELETE it.
One of my columns is
created_at which is a timestampz type and I need to check whether the count of my table is above 500. if so then delete the oldest row.