You can use the distinct() function:

http://www.orientechnologies.com/docs/last/orientdb.wiki/SQL-Functions.html#distinct

Lvc@

On 29 September 2014 17:20, Olakunle Olaniyi <[email protected]> wrote:

> Hello,
> My question refers to this article ;
>
> http://www.orientechnologies.com/orientdb-improved-sql-filtering/
>
>
>
> This is a great feature no doubt. But what if I am only interested in
> getting distinct friend names from the list and say not the first or the
> last or some data with a know index?
> E.g for a collection such as ['a','a','b','c','c','g'] I would like to get
> back (a,b,c,g).
> How can i achieve that ?
>
>
> Thanks,
>
> Olakunle
>
> --
>
> ---
> 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.
>

-- 

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