# X Marks the Schema

THE CLOUD EXPEDITION! · level 4 · chapter 2

Captain Cloudsworth pulls out a magnifying glass and peers at the cloud databases. 'We've connected, we've queried — but what ELSE is hiding in there? Tables we haven't seen, columns we haven't explored!' He flips open a dusty ledger. 'Before we go deeper, we need the full map.' Time to master <span class='feature-highlight'>Catalog Exploration</span> — using DESCRIBE and information_schema to navigate unfamiliar cloud databases.

## 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)

| column | type |
| --- | --- |
| visit_id | BIGINT |
| duck_id | BIGINT |
| destination_pond | VARCHAR |
| visit_date | DATE |
| purpose | VARCHAR |

### `pondville_events` (50 rows)

| column | type |
| --- | --- |
| event_id | BIGINT |
| event_name | VARCHAR |
| event_date | DATE |
| organizer_id | BIGINT |
| location | VARCHAR |
| attendee_count | BIGINT |

### `pondville_residents` (100 rows)

| column | type |
| --- | --- |
| duck_id | BIGINT |
| name | VARCHAR |
| species | VARCHAR |
| home_pond | VARCHAR |
| age | BIGINT |
| occupation | VARCHAR |
| joined_date | DATE |

### `dbquacks_cloud_expedition.global_migrations`

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

## Data

The tables live in a DuckDB database: https://dbquacks.com/data/databases/motherduck_tutorial.duckdb

To query it outside the browser, attach it read-only:

```sql
ATTACH 'https://dbquacks.com/data/databases/motherduck_tutorial.duckdb' AS db (READ_ONLY);
USE db;
```

This level also queries MotherDuck shares, which need a MotherDuck token. On the page, the editor asks for one.

Play it in the browser: https://dbquacks.com/motherduck/4

## Reference

https://duckdb.org/docs/stable/sql/statements/describe
