title: select a single distinct column in a table while others remain as it is
body: <p>hi i have the following table</p>
  
  <pre>
  P_id    Fname         Lname
  
  1   vaibhav      shukla
  2   davalesh      barak
  2   sumo          barath
  3   kushal        mehra
  </pre>
  
  <p>now i want a query which returns any of the following table</p>
  
  <pre>
  P_id     Fname       Lname
  
  1   vaibhav      shukla
  2   davalesh      barak
  3   kushal        mehra
  </pre>
  
  <p>OR</p>
  
  <pre>
  P_id     Fname       Lname
  
  1   vaibhav      shukla
  2   sumo          barath
  3   kushal        mehra
  
  </pre>
  
  <p>quick solution appreciated </p>