Hi,
try this query

select from (select @rid, Statistics.NumActiveContacts from ContactList 
where (Account = #20:0) and (EntityInfo.State = 0)) order by Statistics 
asc, @rid asc skip 0 limit 5

Kind regards,
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.

Reply via email to