Suppose I have following table in my database :

activity1 | activity2 | activity3 | activity4 | activity5
6            | 7           | 5            | 9           | 8

The first row are the field names and the second row are the data
entries. How can I get 3 maximum values out of each row of this table?
Like from this row, I should get 7,8,9.
Eagerly waiting fro your reply.
Thank you.

-- 
Sandeep Kaur
E-Mail: mkaurkha...@gmail.com
Blog: sandymadaan.wordpress.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to