---
title: Flux SQL package
list_title: SQL package
description: >
  The Flux SQL package provides tools for working with data in SQL databases such
  as MySQL, PostgreSQL, and SQLite.
  Import the `sql` package.
aliases:
  - /v2.0/reference/flux/functions/sql/
menu:
  v2_0_ref:
    name: SQL
    parent: Flux standard library
weight: 202
v2.0/tags: [functions, sql, package, mysql, postgres]
related:
  - /v2.0/query-data/flux/sql/
---

SQL Flux functions provide tools for working with data in SQL databases such as
MySQL, PostgreSQL, and SQLite.
Import the `sql` package:

```js
import "sql"
```

{{< children type="functions" show="pages" >}}
