title: SQL Show All column by one column distinct
body: <p>I have a table with duplicate item's ...<br>
  I need show the list of all columns without duplicate item's<br>
  for example i have this table:<br></p>
  
  <pre><code>ID        CODE        RANK     TIME
  1         12345        2       10:00
  2         12345        2       11:00
  3         98765        3       20:00
  4         98765        3       22:00
  5         66666        2       10:00
  6         55555        5       11:00
  </code></pre>
  
  <p><br>
  result , i need :<br></p>
  
  <pre><code>ID         CODE       RANK     TIME
  1         12345        2       10:00
  3         98765        3       20:00
  5         66666        2       10:00
  6         55555        5       11:00
  </code></pre>
  
  <p><br>
  The time column in not Important , only one of them most be show ...<br></p>