title: Output in Table format
body: <p>I have a sql table in oracle as below and its name is scope.</p>
  
  <pre><code>SPECIALIST          CONTENTS    UPDATE_COUNT
  Ram                 Updates           23
  Har                 Legis             6
  Ram                 Updates           65
  </code></pre>
  
  <p>and i want the output to be formatted in the below format please help me.</p>
  
  <pre><code>           Har  Ram Total
  Updates 0   88  88
  Legis   6   -   6
  Total   6   88  94
  </code></pre>
  
  <p>thanks</p>