title: SQL Database Query selecting different corresponding values for one value
body: <p>How can I get the output like this from the table?
  If I have a table for example shown below</p>
  
  <pre><code>First Name         Last Name
  ----------    
  
   1. John            Doe
   2. John           Ruggles
   3. Ricky          Rog
   4. kelly          Ali
   5. Ricky           Gyri
  </code></pre>
  
  <p>I want to show this as below </p>
  
  <pre><code>First Name       Last Name
  
   1.John           Doe
                    Ruggles
  
   2. Kelly         Ali
  
   3. Ricky         Rog
                    Gyri
  </code></pre>
  
  <p>Like for each name I want to display last name. I want First Name will appear only one time. Please help me. Its a tabular data, first name and last name are different columns</p>