title: Select Distinct for 2 columns in SQL query
body: <p>If I have a table such as</p>
  
  <pre><code>1 bob
  1 ray
  1 bob
  1 ray
  2 joe
  2 joe
  </code></pre>
  
  <p>And I want to select distinct based on the two columns so that I would get</p>
  
  <pre><code>1 bob
  1 ray
  2 joe
  </code></pre>
  
  <p>How can I word my query? Is the only way to concatenate the columns and wrap them around a distinct function operator?</p>