title: Select Max() with "group by" in mongodb
body: <p>Please help me to convert this select sentence to mongodb:</p>
  <pre><code>Select Name, Max(Value) From table1 Group By Name
  </code></pre>
  <p>I read this document: <a href="http://www.mongodb.org/display/DOCS/Aggregation#Aggregation-Group" rel="noreferrer">http://www.mongodb.org/display/DOCS/Aggregation#Aggregation-Group</a></p>
  <p>but still dont know how to apply Max() method instead SUM() as that document.</p>
  <p>Thank you.</p>