To be used from Grafana mainly.
For example, how to return 1 in n rows, or the average within an interval. This makes the query
more complex, but it's required to make it faster when a query returns too many rows. Follow up from #3
Also useful to explain how to query regular columns vs how to query data in jsonb datatype.