11 lines
556 B
SQL
11 lines
556 B
SQL
INSERT INTO DIM_ORGANIZATION (org_id, name, region, country, club_partner_status, founded_year, social_media_followers_m)
|
|
VALUES (
|
|
${organization_id},
|
|
'${name}',
|
|
${region:isEmpty():ifElse('NULL', concat("'", ${region}, "'"))},
|
|
${country:isEmpty():ifElse('NULL', concat("'", ${country}, "'"))},
|
|
${club_partner_status:isEmpty():ifElse('NULL', concat("'", ${club_partner_status}, "'"))},
|
|
${founded_year:isEmpty():ifElse('NULL', ${founded_year})},
|
|
${social_media_followers_m:isEmpty():ifElse('NULL', ${social_media_followers_m})}
|
|
)
|