Hi,

if you want to find the percentile between two values you can use the 
functione percentile(), your query should become:

select percentile(customer_reach,is_used) from (select in(
'customer_has_custom_offer').size() as customer_reach, 
in_customer_has_custom_offer['is_used=true'].size() as is_used from (select 
expand(out('store_has_custom_offer')) from #32:0) where is_deleted = 0 )

Hope it helps.

Regards,
Michela

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to