How many rows in the last minute?
For postgresql:
select count(*) from table_name where created_at > (now() - interval '1 min');
Written by Shairon Toledo
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Postgresql
Authors
Related Tags
#postgresql
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#