Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PostgreSQL select where timestamp is before some time ago
SELECT * FROM users WHERE created_at >= NOW() - INTERVAL '5 minutes';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.