Create a continuous aggregate on top of another continuous aggregate
Creating a continuous aggregate on top of another continuous aggregate works the same way as creating it on top of a hypertable. In your query, select from a continuous aggregate rather than from the hypertable, and use the time-bucketed column from the existing continuous aggregate as your time column.
For more information, see the instructions for [creating a continuous aggregate][create-cagg].