title: PHP MYSQL multiple or single DISTINCT/UNIQUEvalues
body: <p>Currently I have this query:</p>
  
  <pre><code>SELECT column1,column2 FROM table
  </code></pre>
  
  <p>column1 needs to be distinct, column2 does not.</p>
  
  <pre><code>SELECT DISTINCT column1, NON-DISTINCT column2 FROM table
  </code></pre>
  
  <p>Now I know that doesn't make sense but I need column1 to be distinct and column2 to be anything. How would I do that.</p>