refactor to remove unnecessary bloat
This commit is contained in:
parent
6d734cc398
commit
8b2dca174f
1 changed files with 4 additions and 7 deletions
|
|
@ -1,11 +1,8 @@
|
||||||
with
|
with
|
||||||
int_core__verification_payments as (
|
int_core__verification_payments as (
|
||||||
select * from {{ ref("int_core__verification_payments") }}
|
select * from {{ ref("int_core__verification_payments") }}
|
||||||
),
|
)
|
||||||
monster_payment_join as (
|
|
||||||
select vp.*
|
select vp.*
|
||||||
from int_core__verification_payments vp
|
from int_core__verification_payments vp
|
||||||
where vp.verification_payment_type = 'Fee' and vp.payment_status = 'Paid'
|
where vp.verification_payment_type = 'Fee' and vp.payment_status = 'Paid'
|
||||||
)
|
|
||||||
select *
|
|
||||||
from monster_payment_join
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue