Removed database sources on select
This commit is contained in:
parent
a837760382
commit
5f05b725b9
1 changed files with 4 additions and 4 deletions
|
|
@ -48,13 +48,13 @@ select
|
|||
coalesce(pt.has_waiver_payment, false) as has_waiver_payment,
|
||||
coalesce(pt.has_deposit_payment, false) as has_deposit_payment,
|
||||
coalesce(pt.has_fee_payment, false) as has_fee_payment
|
||||
from staging.stg_core__guest_satisfaction_responses gss
|
||||
from stg_core__guest_satisfaction_responses gss
|
||||
left join
|
||||
intermediate.int_core__verification_requests vr
|
||||
int_core__verification_requests vr
|
||||
on vr.id_verification_request = gss.id_verification_request
|
||||
left join
|
||||
staging.stg_core__verification v
|
||||
stg_core__verification v
|
||||
on v.id_verification_request = gss.id_verification_request
|
||||
and v.verification = 'PaymentValidation'
|
||||
left join staging.stg_core__user u on u.id_user = vr.id_user_guest
|
||||
left join stg_core__user u on u.id_user = vr.id_user_guest
|
||||
left join payment_types pt on gss.id_verification_request = pt.id_verification_request
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue