I have a table with columns below enter image description here
now what I am trying to achieve is as below.