MotherDuck DuckDB SQL Reference

•
30
•

Provides expert DuckDB syntax guidance and MotherDuck-specific SQL features to ensure queries run correctly on the MotherDuck platform.

This skill empowers Claude with specialized knowledge of DuckDB SQL and MotherDuck's cloud-native extensions. It helps developers write precise, idiomatic DuckDB queries by leveraging advanced features like GROUP BY ALL and QUALIFY, while managing MotherDuck-specific operations such as data sharing, secrets management, and database snapshots. It is particularly useful for porting PostgreSQL-style queries to DuckDB and debugging syntax errors within the MotherDuck ecosystem to ensure high-performance analytical execution.

Key Features

01Leverage MotherDuck-exclusive SQL commands for shares, secrets, and database snapshots
02Utilize deep references for DuckDB data types, functions, and complex list/struct types
03Convert PostgreSQL-style SQL to optimized, native DuckDB syntax automatically
04Validate syntax compatibility between local DuckDB and MotherDuck server-mode features
0530 GitHub stars
06Access precise DuckDB syntax for advanced features like GROUP BY ALL, QUALIFY, and UNION BY NAME

Use Cases

01Managing operational database tasks like creating shares, managing secrets, or restoring database snapshots
02Debugging complex DuckDB queries involving nested types, window functions, or 'friendly SQL' features
03Porting analytical queries from PostgreSQL or other engines to MotherDuck-native DuckDB SQL