and how will do that in sql? and you will get the response

try

_select1 = db(query)._select(db.table.id,groupby)
_count = db(db.table.id.belongs( _select1)).count()

-- 



Reply via email to