diff --git a/models/intermediate/core/int_core__user_product_bundle_contains_services.sql b/models/intermediate/core/int_core__user_product_bundle_contains_services.sql index ded6fcd..ad79800 100644 --- a/models/intermediate/core/int_core__user_product_bundle_contains_services.sql +++ b/models/intermediate/core/int_core__user_product_bundle_contains_services.sql @@ -47,7 +47,8 @@ select pp.protection_display_name as service_name from stg_core__user_product_bundle pb inner join int_core__user_host uh on pb.id_user = uh.id_user_host -inner join stg_core__protection_plan pp -where - pb.id_protection_plan is not null - and pp.id_protection_plan <> {{ default_id_protection }} +inner join + stg_core__protection_plan pp + on pb.id_protection_plan = pp.id_protection_plan + and pb.id_protection_plan is not null +where pp.id_protection_plan <> {{ default_id_protection }}