title: How to group by mysql to fill empty row
body: <p>I have this records</p>
  
  <pre><code>ID Name  key1   key2 key 3
  1   A    Key1A   Key2A Key3A 
  2   B    Key1B   NULL NULL
  3   B    NULL   Key2B Ke3yB
  4   C    Key1C   NULL  NULL
  5   C    NULL   Key2C  NULL
  6   C    NULL   NULL  Key3C
  </code></pre>
  
  <p>So i need result like this</p>
  
  <pre><code> Name  key1     key2  key 3
    A    Key1A   Key2A  Key3A 
    B    Key1B   Key2B  Key3B
    C    Key1C   Key2C  Key3C
  </code></pre>
  
  <p>Is it possible to achieve it  ? thanks in advance</p>