can you please illustrate a simple SQL statement that illustrates what you are trying to achieve ?
On Aug 12, 2011, at 1:00 PM, Eduardo wrote: > Dear all, > I am trying to limit group_by function only on the rows that satisfy > certain query > if I use group_by(table.c.something) this pertains to whole table. > I tried to use elements of the tuple rendered as a result of a query > as arguments (as it has been suggested on this forum) but it did not > work. > Is this possible at all? > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To post to this group, send email to sqlalchemy@googlegroups.com. > To unsubscribe from this group, send email to > sqlalchemy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sqlalchemy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.