THE CLOUD EXPEDITION! · Chapter 2

X Marks the Schema

Captain Cloudsworth pulls out a magnifying glass and peers at the cloud databases. Weve connected, weve queried — but what ELSE is hiding in there? Tables we havent seen, columns we havent explored! He flips open a dusty ledger. Before we go deeper, we need the full map. Time to master Catalog Exploration — using DESCRIBE and information_schema to navigate unfamiliar cloud databases.

Your task

Reveal the column structure of `dbquacks_cloud_expedition.global_migrations` — what columns does it have, and what are their types? Table: `dbquacks_cloud_expedition.global_migrations` (MotherDuck).

Hint

Use DESCRIBE on the table to reveal its column names, types, and nullability

Expected result

Column definitions for global_migrations showing column_name, column_type, null, key, default, and extra

Tables

lake_visits (500 rows)

columntype
visit_idBIGINT
duck_idBIGINT
destination_pondVARCHAR
visit_dateDATE
purposeVARCHAR

pondville_events (50 rows)

columntype
event_idBIGINT
event_nameVARCHAR
event_dateDATE
organizer_idBIGINT
locationVARCHAR
attendee_countBIGINT

pondville_residents (100 rows)

columntype
duck_idBIGINT
nameVARCHAR
speciesVARCHAR
home_pondVARCHAR
ageBIGINT
occupationVARCHAR
joined_dateDATE

dbquacks_cloud_expedition.global_migrations

A table in a MotherDuck share; its columns are not listed here.

Database: https://dbquacks.com/data/databases/motherduck_tutorial.duckdb

This page as markdown: https://dbquacks.com/motherduck/4.md

Start level 4 →

DuckDB docs for this lesson