This is my query.
select name, walk_to, count(*) count
from walk
where name='Rizwan'
group by name, walk_t0;
This results in data like:
NAME     WALK_TO     COUNT
Rizwan   Cafe        2
Rizwan   Arena       10
Rizwan   Outside     20
There are other users' data as well. What I want is:
NAME     CAFE     ARENA     OUTSIDE
Rizwan   2        10        20
John     3        21        90
James    5        5         9
Any idea how to write a query to get this result?
 
     
     
    