[storm] Executing 'MAX' query
Gerdus van Zyl
gerdusvanzyl at gmail.com
Wed Jan 16 19:15:48 GMT 2008
Try this:
s = store.execute(Select( Max(Account.id), Like(Account.id,'1%')) ).get_one()
~GerdusVZ
On Jan 15, 2008 9:28 PM, Eduardo Willians <edujurista at gmail.com> wrote:
> Hi all,
>
> Is there a storm way to execute the following query:
>
> SELECT MAX(OpNum) FROM operacoes WHERE OpNum LIKE "8%"
>
> Notice that OpNum column has integer type.
>
> Thanx,
>
> EduardoWillians
>
> --
> storm mailing list
> storm at lists.canonical.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
>
More information about the storm
mailing list