Query over 30-day increments in Postgresql
I have two queries. One that returns a count of records over the last 30 days, and another for the 30 days prior. I’d like to combine them into one query.
Is there a way to filter out negative Interval values?
Currently I have a interval column after subtracting two timestamp without time zone columns