title: Is there any difference between GROUP BY and DISTINCT
body: <p>I learned something simple about SQL the other day:</p>
  
  <pre><code>SELECT c FROM myTbl GROUP BY C
  </code></pre>
  
  <p>Has the same result as:</p>
  
  <pre><code>SELECT DISTINCT C FROM myTbl
  </code></pre>
  
  <p>What I am curious of, is there anything different in the way an SQL engine processes the command, or are they truly the same thing?  </p>
  
  <p>I personally prefer the distinct syntax, but I am sure it's more out of habit than anything else.</p>
  
  <p>EDIT: This is not a question about aggregates. The use of <code>GROUP BY</code> with aggregate functions is understood.</p>