title: i have one Issue in My Query not get Group Record
body: <p>hi i have one issue in get query like 3 column</p>
  
  <pre><code>ID       Grp      Name
  1         10        aa
  2         11        bb
  3         11        cc 
  4         11        dd
  5         12        ee
  6         12        ff
  </code></pre>
  
  <p>i want ans is </p>
  
  <pre><code>ID   Grp   Name
  1     10    aa
  2     11    bb
  5     12    ee
  </code></pre>
  
  <p>so what can id Do ?</p>