Andrey, you are very welcome. i'll be adding this to the Query Examples wiki page if you don't mind.
~nagu. On Friday, June 5, 2015 at 12:30:12 AM UTC+5:30, Andrey Yesyev wrote: > > 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.