Hi,

I'm trying to do a query in which I use select() with count and
groupby

db().select(field1, field1.count(), groupby=field2)

 but I'd like to be able to use the count column to limit the results,
adding a where clause to the SQL, something like "where count > x"

Is that possible? how?

Thanks,

Marcos.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to