http://web2py.com/books/default/chapter/29/06#orderby,-groupby,-limitby,-distinct,-having

order=field1|field2

On Monday, March 4, 2013 3:50:54 PM UTC+1, Kenneth wrote:
>
> Hi,
>
> how do you orderby and groupby with two fields?
>
> I have a table with these fields: chapter, page and version. I'd like to 
> find all items that are unique based on chapter and page and has the 
> highest version number.
>
>
> Kenneth
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/groups/opt_out.


Reply via email to