Fetch records using Group By from appengine datastore

Posted by Pradeep Upadhyay on Stack Overflow See other posts from Stack Overflow or by Pradeep Upadhyay
Published on 2010-04-16T14:09:05Z Indexed on 2010/04/16 14:13 UTC
Read the original article Hit count: 201

Filed under:
|

I am trying something like this:

result = db.GqlQuery("SELECT * FROM myDataMode COUNT(Employee) GROUP BY(Department) WHERE Salary > :1"10000)

And I am getting error :

BadQueryError: Parse Error: Expected no additional symbols at symbol count

Can any one please help me.

© Stack Overflow or respective owner

Related posts about python

Related posts about google-app-engine