title: Comparing first row with 2nd row 2nd with 3rd and so on
body: <p>I have a table. I want to compare each row with next row till all rows. If matched I need to display only mismatch values.</p>
  <p>TABLE_A</p>
  <ol>
  <li>
  <pre><code>A      B      C
  </code></pre>
  </li>
  <li>
  <pre><code>A      B      D
  </code></pre>
  </li>
  <li>
  <pre><code>E      A      E
  </code></pre>
  </li>
  <li>
  <pre><code>A      C      E
  </code></pre>
  </li>
  </ol>
  <p>..
  ..
  ..
  nth</p>
  <p>Output should be</p>
  <ol>
  <li>
  <pre><code>A         B         C
  </code></pre>
  </li>
  <li>
  <pre><code>NULL      NULL      D
  </code></pre>
  </li>
  <li>
  <pre><code>E         A         E
  </code></pre>
  </li>
  <li>
  <pre><code>A         C         NULL
  </code></pre>
  </li>
  </ol>
  <p>..
  ..
  ..
  nth</p>