Adding total_listings_with_active_product_bundle_with_paid_service
This commit is contained in:
parent
57626f266a
commit
9750fa9e14
2 changed files with 3 additions and 0 deletions
|
|
@ -140,6 +140,7 @@ select
|
||||||
total_listings,
|
total_listings,
|
||||||
total_active_listings,
|
total_active_listings,
|
||||||
total_listings_with_product_bundle_with_paid_service,
|
total_listings_with_product_bundle_with_paid_service,
|
||||||
|
total_listings_with_active_product_bundle_with_paid_service,
|
||||||
case when total_active_listings > 0 then 1 else 0 end as has_active_listings,
|
case when total_active_listings > 0 then 1 else 0 end as has_active_listings,
|
||||||
case
|
case
|
||||||
when total_listings_with_product_bundle_with_paid_service > 0 then 1 else 0
|
when total_listings_with_product_bundle_with_paid_service > 0 then 1 else 0
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,8 @@ select
|
||||||
total_active_listings as total_active_listings,
|
total_active_listings as total_active_listings,
|
||||||
total_listings_with_product_bundle_with_paid_service
|
total_listings_with_product_bundle_with_paid_service
|
||||||
as total_listings_with_product_bundle_with_paid_service,
|
as total_listings_with_product_bundle_with_paid_service,
|
||||||
|
total_listings_with_active_product_bundle_with_paid_service
|
||||||
|
as total_listings_with_active_product_bundle_with_paid_service,
|
||||||
has_active_listings as has_active_listings,
|
has_active_listings as has_active_listings,
|
||||||
has_listings_with_paid_service_applied as has_listings_with_paid_service_applied,
|
has_listings_with_paid_service_applied as has_listings_with_paid_service_applied,
|
||||||
has_listings_with_active_paid_service_applied
|
has_listings_with_active_paid_service_applied
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue