Dives: Composable visualizations built by your favorite agentsRead the blog

Skip to main content

DuckDB statements

Reference documentation for DuckDB SQL statements. These statements work in both local DuckDB and MotherDuck cloud environments.

Common operations:

  • Data manipulation: SELECT, INSERT, UPDATE, DELETE
  • Schema management: CREATE TABLE, ALTER TABLE, DROP
  • Data loading: COPY, EXPORT
  • Advanced queries: PIVOT, UNPIVOT