I have a table which showing different rows and column. I want a dataset from that table. But I have not any idea to make it. So I am showing my table and result from that table... Please help me with making a query to generate that result. Thanks first I am showing my table
UC_Name   |   Word_No   |   entity
 UC-1     -    w-1      -     a
 UC-1     -    w-2      -     a
 UC-1     -    w-3      -     a
 UC-2     -    w-1      -     a
 UC-2     -    w-2      -     a
 UC-2     -    w-2      -     b
 UC-1     -    w-1      -     a
 UC-3     -    w-3      -     b
 UC-4     -    w-2      -     c
Now result as
UC-Name    |    w-1     |     w-2    |    w-3
UC-1       -    2       -     1      -    1
UC-2       -    1       -     2      -    0
UC-3       -    0       -     0      -    1
UC-4       -    0       -     1      -    0
Actually I want entity count in every ward according to UC-Name
(again asking:: I have a table which showing different rows and column. I want a dataset from that table. But I have not any idea to make it. So I am showing my table and result from that table... Please help me with making a query to generate that result. Thanks first I am showing my table)
 
     
    