Skip to main content
Every finished run keeps its results as a table you can query. Reference it to aggregate, filter or join an expensive result without recomputing it.
1

Copy a run ID

Open the query whose results you want and copy the ID of a successful run from its run history.
Run history listing successful runs with their age, duration and run ID
2

Query it as a table

Read the run as query_history.<run_id>. This query takes the stablecoin supply results from Run a basic query and works out each stablecoin’s share on the latest day:
Query editor reading query_history with a five-row result of each stablecoin's share of supply
A query that joins a query_history result with Allium tables can only use results less than 24 hours old. A query that reads only query_history results has no age limit.

Next steps

Parameterized queries

Rerun the same SQL with different values.

Compute profiles

Choose the compute a query runs on.