Hi Bharath,
I could not test it on the database at the time, however try this query
select ref_id from (select ref_id, count(@rid) as counts from (select
expand(in("hasCui")) from Cui where ref_id='C0024530' or ref_id='C0013090')
group by @rid) where counts>1
and let me know.
Kind regards,
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.