Try

db(db.table).select(distinct=db.table.field[:1])




On Sep 23, 11:59 am, António Ramos <[email protected]> wrote:
> i mean character
>
> *A*dreta
> *F*ersil
>
> Em 23 de setembro de 2011 17:58, António Ramos <[email protected]>escreveu:
>
>
>
>
>
>
>
> > hello,
> > I have a list of 2000 clients
>
> > I want to detect only the first word of each client and get a list with
> > unique values
>
> > is there a one liner db.select()?

Reply via email to