This is the final version of the query I need

select v.name, sum(count) as cnt from (select if(eval("in=#17:0"),out,in) as 
v,count from E where (in=#17:0 or out=#17:0)) order by cnt desc group by v

Nagu, I greatly appreciate your help and time you spent on this!

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to