Hi.

i would do so:

select ID as IdEmployees, name as NameEmployees , out().name as 
NameDepartment, out().city as CityDepartment, out().state as 
StateDepartment from (select expand(in('workAt')) from Department 
where DEPT_ID= 'dep1') 

Bye, Giulia

-- 

--- 
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.

Reply via email to