Hi all,

I'm trying to get the distinct values from a column, something like
select distinct first_name from person.

I could off course do it in python by doing Person.select() and then
looping over the result, but that wouldn't be very efficient, since
Person might contain a lot of records, but not too much different
first_names.

I tried to figure it out by looking in the sqlobject docs, but I do not
seem to find my way around there...

Any ideas?

Thanks a lot!

Nick.

Reply via email to