written as it is, in a view :P we need models, test data and the resultset you want returned, pleeeease ^_^
On Friday, March 22, 2013 11:00:12 PM UTC+1, Tito Garrido wrote: > > Folks, > > How could I implement: > > SELECT * FROM (SELECT * FROM capitulo WHERE data >= CURDATE() ORDER BY > data) WHERE encerrada = false GROUP BY c.cod_anothertable > > Regards, > > Tito > -- > > Linux User #387870 > .........____ > .... _/_õ|__| > ..º[ .-.___.-._| . . . . > .__( o)__( o).:_______ > -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.