Skip to main content

DuckDB SQL

DuckDB provides a rich SQL dialect with powerful analytical capabilities. MotherDuck uses DuckDB's SQL engine, so all standard DuckDB syntax works seamlessly.

This reference covers core SQL statements, data types, functions, window functions, and query syntax. For MotherDuck-specific extensions like cloud database management and sharing, see the MotherDuck SQL reference.

tip

DuckDB maintains comprehensive documentation at duckdb.org/docs. The reference here focuses on the most commonly used features.