title: Display Column Value in Case When in SQL
body: <p>need help for below.</p>
  
  <h2><strong>Table1</strong></h2>
  
  <pre><code>+------------+-------------------+----------+
  | Shipmnt    |      Costtype     |     cost |
  +------------+-------------------+----------+
  |22          |      toll         |   100    |
  |23          |      parking      |   111    |
  |25          |      tax          |   25     |
  +------------+-------------------+----------+
  </code></pre>
  
  <h2><strong>Expected Result</strong></h2>
  
  <pre><code>+----------+--------+-----------+-------+
  | shipmnt  |  toll  |  parking  |   tax |
  +----------+--------+-----------+-------+
  | 22       |  100   |     0     |   0   |
  | 23       |  0     |     111   |   0   |
  | 25       |  0     |     0     |   25  |
  +----------+--------+-----------+-------+
  </code></pre>
  
  <p>i m trying to use case when but not able to get column. </p>