content/shared/influxdb-v2/query-data/influxql/functions/_index.md
Use InfluxQL functions to aggregate, select, transform, analyze, and predict data.
{{% note %}} To query with InfluxQL, the bucket you query must be mapped to a database and retention policy (DBRP). For more information, see how to Query data with InfluxQL. {{%/ note %}}