Hi Lior, try this query select distinct(id) as id from (select expand( $c ) let $a = ( SELECT outV() as id FROM Called WHERE start_time>10 AND end_time<11 ), $b = ( SELECT inV() as id FROM Called WHERE start_time>10 AND end_time<11 ), $c = unionAll( $a, $b ))
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.
