Free DuckDB & MotherDuck Course: Build a Local-to-Cloud Data Workflow

A CSV file on your laptop and a table in a cloud service can belong to the same analytical workflow, but they do not automatically behave like the same environment. Andreas Kretz’s Data Engineering with DuckDB and MotherDuck introduces that transition through local queries, Python transformations, remote execution and a short DuckLake extension. It gives SQL and Python learners a concrete sequence to follow before designing a larger data platform.

Original Free DuckDB and MotherDuck Course cover with a laptop, cloud and data tiles, credited to Andreas Kretz.
Free learning access

Listed as Free on Udemy when checked on 8 November 2026. No coupon or subscription trial is required for the listed lessons. Enrollment needs a Udemy account; availability can change.

About this course

A CSV file on your laptop and a table in a cloud service can belong to the same analytical workflow, but they do not automatically behave like the same environment. Andreas Kretz’s Data Engineering with DuckDB & MotherDuck introduces that transition through local queries, Python transformations, remote execution and a short DuckLake extension. It gives SQL and Python learners a concrete sequence to follow before designing a larger data platform.

The English course contains nineteen lessons across seven sections. Basic SQL and Python knowledge is expected; previous DuckDB or cloud experience is not required. Its project uses New York City 311 elevator service requests to explore data preparation and patterns. Treat those patterns as observations in a dataset, with their own coverage and limitations, rather than evidence that a location is unsafe or that a commercial opportunity is guaranteed.

Official course Data Engineering with DuckDB & MotherDuck
Created by Andreas Kretz
Platform Udemy
Language English
Level Intermediate
Listed duration 84 minutes; 19 lectures across 7 sections
Completion terms Not included with a new free enrollment

What you’ll learn

Follow a file from a local CSV query into a reusable database, then connect the workflow to MotherDuck. The course covers the DuckDB interface, Python integration, column cleanup, value normalization, calculated fields and exporting results to CSV or Parquet. Later lessons compare local and cloud execution, introduce hybrid workflows and demonstrate DuckLake tables. These topics support a compact analytical project; they do not constitute a complete production platform or establish a universal performance advantage for cloud computing.

Skills you’ll gain

  • Local SQL analytics
  • DuckDB database persistence
  • Python data transformations
  • CSV and Parquet exports
  • Local and cloud query comparison
  • DuckLake concepts

Start with a result you can inspect

The early sequence moves from installation to reading a local CSV, using the interface and saving a database for later reuse. That progression makes the distinction between an input file and a maintained analytical workspace easier to recognize. A query result, an exported file and a persistent database are different outputs, even when they contain similar rows.

Use the local stage to develop a habit of checking what changed. Before and after a transformation, note the row count, column names and examples of missing values. This is an editorial study approach, not an additional course assignment. It makes an unexpected result visible while the workflow is still small enough to reason through without a cloud account.

Move the workflow with its assumptions

The Python section connects the query engine to a script, prepares data and writes results locally. Subsequent lessons connect Python to MotherDuck and reuse an ELT workflow with remote computation. Authentication, tokens and environment variables appear in that connection sequence. Keep real credentials out of shared examples and use a separate, non-sensitive learning dataset when reproducing the workflow.

The comparison lessons include EXPLAIN and EXPLAIN ANALYZE. The latter executes the query and reports measured information; it is not simply another way to display an estimated plan. Read the execution context before interpreting a timing result. Data location, transfer, query shape and available resources can change what a local-versus-cloud comparison means. A faster demonstration does not establish that every query will improve after migration.

Understand the DuckLake extension

The bonus section introduces DuckLake and demonstrates creating and querying tables with S3-backed storage. Its topics include inserts, snapshots and metadata. DuckLake combines a catalog database with Parquet data storage, so it should not be understood as merely a new filename extension. The catalog and stored data have different roles within the arrangement.

For a small practice exercise, sketch three fictional service-request records with a category, district and date. Mark one date as missing and repeat one record. Write down the cleaned result you expect, then identify which checks should still hold after exporting and reading the data again. Finally, label where the input, transformation and output would live in a local workflow and in a cloud version. This exercise is an original learning aid, not a reproduced course resource.

Decide which parts to reproduce

The lessons are available to watch free, while MotherDuck and object-storage services have their own plans, limits and billing terms. Review those terms before creating cloud resources; free course access does not promise unlimited free infrastructure. The course was updated in October 2025, so interfaces and service options may differ from the recording. You can first study the local sequence, then decide whether the cloud and DuckLake demonstrations fit your learning environment. No certification, production readiness or job outcome is guaranteed by completing this introduction.

Check query profiling: EXPLAIN ANALYZE executes the query. Understand DuckLake storage: Catalog metadata and Parquet data have distinct roles. Review cloud plans: External usage has separate limits and costs.

Related courses for your next step

Enroll Now ↗

Frequently asked questions

Do I need previous DuckDB experience?

No previous DuckDB or cloud experience is required by the course, but basic SQL and Python knowledge is expected.

Does free access include unlimited cloud resources?

No. Watching the lessons is separate from MotherDuck, object storage and other external service plans or usage charges.

Does EXPLAIN ANALYZE actually run the query?

Yes. It executes the query and provides runtime measurements, so consider the query and its execution environment before using it.

Share this course

Learner reviews

Tell other learners what you actually tried. Reviews are moderated and may come from learners who have started or completed the course.

No published learner reviews yet.

Sign in to write a review

Questions still belong in the discussion below. Review and ranking rules.

Questions & discussion

Share a useful question or correction. Comments appear after moderation. Please avoid personal or sensitive information.

Add to the discussion

Keep comments relevant and respectful. Spam, adult content, and adult-site names or links are not allowed. All visitor comments are reviewed before publication.

Your email address will not be published. Required fields are marked *