Thank you so much !!

This worked well !!!

On Friday, 5 June 2015 13:21:50 UTC+5:30, Giulia Brignoli wrote:
>
> Hi.
>
> Try this:
>
> 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') 
>
> In class employees the DEPT_ID field is not necessary, since the 
> connection between the two tables is done through an edge.
>
> 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