Hi all,

Maybe this is a simple question for you but I was not able to find any 
answer.

I have some vertices of class 'product' which can be 'viewed', 'ordered' by 
'user'.
My problem is that I want to get all product where 'viewed' by specific 
user, and it's has not been 'ordered' by any user.

Eg:  ProductA <-viewed- User1
       ProductB <-viewed- User1
       ProductC <-viewed- User1
       ProductC <-ordered- User1
       ProductD <-viewed- User1
       ProductD <-viewed- User2
       ProductD <-ordered- User2

Input: User1
Expected result:ProductA, ProductB
Note: ProductC and ProductD don't exist in result set because they were 
'ordered' by User1, User2.

I want to get it by using SQL or Match command.

Thanks,
Tan

-- 

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