title: SQL grammar for SELECT MIN(DATE)
body: <p>I have a table with structure:
  <code>id(INT PK), title(VARCHAR), date(DATE)</code></p>
  
  <p>How do I select all distinct titles with their earliest date?</p>
  
  <p>Apparently, <code>SELECT DISTINCT title, MIN(date) FROM table</code> doesn't work.</p>