Explain LEFT JOIN and the difference between a data lake and a data warehouse.
Demonstrate the join behavior by listing every data lake asset and any corresponding warehouse table. Also explain how unmatched rows are represented and when each storage architecture is appropriate.
asset_name, storage_format, warehouse_table, warehouse_layerasset_name and warehouse_table| Column | Type | Description |
|---|---|---|
| asset_idPK | INTEGER | Unique identifier for a data lake asset |
| asset_name | VARCHAR(100) | Name of the lake asset |
| storage_format | VARCHAR(30) | Physical or logical format used by the asset |
| Column | Type | Description |
|---|---|---|
| warehouse_table_idPK | INTEGER | Unique identifier for a warehouse table |
| source_asset_id | INTEGER | Lake asset used as the source |
| table_name | VARCHAR(100) | Warehouse table name |
| layer | VARCHAR(30) | Warehouse processing layer |