Slide 23
Slide 23 text
dbt で加工する
22
select
building_id,
building_name,
building_address,
prefectures.name as prefecture_name,
owners.name as owner_name
from {{ ref("buildings") }}
left join {{ ref("owners") }} owners on owners.building_id = buildings.building_id
left join
{{ source("areas", "prefectures") }} prefectures
on prefectures.prefecture_id = buildings.prefecture_id