Thank you so much... Its really helpfull for me.. On Monday, August 29, 2016 at 6:42:08 PM UTC+5:30, [email protected] wrote: > > Hi, > you could use > > select eval('customer_reach / is_used * 100')as percentage from (select > in('customer_has_custom_offer').size() as customer_reach, in( > 'customer_has_custom_offer') > ['is_used=true'].size().asFloat() as is_used from (select expand(out( > 'store_has_custom_offer')) from #32:0) where is_deleted = 0 ) > > > Hope it helps. > Alessandro >
-- --- 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.
