In PostgreSQL, we can use the generate_series()
function to return a series of values between a given start and stop point. This can be a series of numbers or a series of timestamps.
The function returns a set containing the series.
Continue reading