Hi,
trying to select ALL rows from the table with the "max" value in a specified
field
I can go:

tmax=Prodcats.select().max('tStamp')
for row in Prodcats.selectBy('tStamp' == tmax):
    print row

Just wander if there is some other way how to get rows with max (min....)
values in specified field from the table

Regards

Petr Jakes
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to