title: sql stored procedure with out duplicates name
body: <p>How can I create a query to SELECT ALL DB WITHOUT duplicates</p>
  
  <p>Like (old DB that is no longer in use c,f,g. basically if it does have eur and has an original name than it is relevant):</p>
  
  <pre><code>a
  b
  c
  ceur
  d
  f
  feur
  g
  geur
  </code></pre>
  
  <p>I need it to be like:</p>
  
  <pre><code>a
  b
  ceur
  d
  feur
  geur
  </code></pre>
  
  <p>Many thanks...</p>