# Basin SQL Cloudflare's serverless, distributed query engine for data stored in Basin Catalog > Links below point directly to Markdown versions of each page. Any page can also be retrieved as Markdown by sending an `Accept: text/markdown` header to the page's URL without the `index.md` suffix (for example, `curl -H "Accept: text/markdown" https://developers.cloudflare.com/basin-sql/`). > > For other Cloudflare products, see the [Cloudflare documentation directory](https://developers.cloudflare.com/llms.txt). ## Overview - [Basin SQL](https://developers.cloudflare.com/basin-sql/index.md): A distributed SQL engine for Basin Catalog ## Getting started - [Getting started](https://developers.cloudflare.com/basin-sql/get-started/index.md): Create your first pipeline to ingest streaming data and write to Basin Catalog as an Apache Iceberg table. ## Query data - [Query data](https://developers.cloudflare.com/basin-sql/query-data/index.md): Understand how to query data with Basin SQL ## SQL reference - [SQL reference](https://developers.cloudflare.com/basin-sql/sql-reference/index.md): Comprehensive reference for SQL syntax, functions, and data types supported in Basin SQL. - [Aggregate functions](https://developers.cloudflare.com/basin-sql/sql-reference/aggregate-functions/index.md): Reference for the aggregate functions supported in Basin SQL, organized by category. - [Complex types](https://developers.cloudflare.com/basin-sql/sql-reference/complex-types/index.md): Reference for querying struct, array, and map column types in Basin SQL. - [Scalar functions](https://developers.cloudflare.com/basin-sql/sql-reference/scalar-functions/index.md): Reference for the scalar functions supported in Basin SQL, organized by category. ## Troubleshooting guide - [Troubleshooting guide](https://developers.cloudflare.com/basin-sql/troubleshooting/index.md): Troubleshoot common Basin SQL errors including query structure, type, and timeout issues. ## Tutorials - [Tutorials](https://developers.cloudflare.com/basin-sql/tutorials/index.md): Step-by-step Basin SQL tutorials for querying data stored in R2. - [Build an end to end data pipeline](https://developers.cloudflare.com/basin-sql/tutorials/end-to-end-pipeline/index.md): This tutorial demonstrates how to build a complete data pipeline using Basin Pipelines, Basin Catalog, and Basin SQL. ## Platform - [Platform](https://developers.cloudflare.com/basin-sql/platform/index.md): Basin SQL platform details including pricing and configuration. - [Pricing](https://developers.cloudflare.com/basin-sql/platform/pricing/index.md): Basin SQL pricing based on data scanned, with included usage details and billing examples. ## Reference - [Reference](https://developers.cloudflare.com/basin-sql/reference/index.md): Basin SQL reference documentation for limitations, best practices, and Wrangler commands. - [Limitations and best practices](https://developers.cloudflare.com/basin-sql/reference/limitations-best-practices/index.md): Supported features, known limitations, and best practices for Basin SQL queries. - [Wrangler commands](https://developers.cloudflare.com/basin-sql/reference/wrangler-commands/index.md): Wrangler commands for querying data with Basin SQL.