title: Mongo DB query difference
body: <p>Can someone please tell me the difference b/w following two queries. Both works for me and seems to be giving correct results, but i am not sure if really there is any difference or not</p>
  
  <p>Retrieve all students having scores between 80 and 95</p>
  
  <pre><code>     var query1 = { 'grade' : {"$gt":80}, 'grade' : {"$lt":95} };
  
       var query2 = { 'grade' : {"$gt":80,"$lt":95} };     
  </code></pre>