Skip to main content

MotherDuck SQL

MotherDuck extends DuckDB with cloud-native SQL capabilities for managing databases, shares, secrets, and connections. These statements let you work with MotherDuck's serverless infrastructure directly from SQL.

Key capabilities:

  • Database management: Create, copy, attach, and drop cloud databases
  • Data sharing: Share data with other users and organizations
  • Secrets management: Store and manage credentials securely
  • AI functions: Generate embeddings, run prompts, and get SQL assistance

For standard SQL operations, see the DuckDB Syntax reference.