Write query to find the restaurant Id, name, and grades for those restaurants which achieved a grade of "A" and scored 11 on an ISODate "2014-08-11T00:00:00Z" among many of survey dates..
*My answer is as :
db.resCollec.find( { "grades.date": ISODate("2014-08-11T00:00:00Z"),
"grades.grade":"A" ,
"grades.score" : 11 },
{"restaurant_id" : 1,"name":1,"grades":1} );
This solution is not correct.What should i change in it