Hi Scott. Does the code below work or did you want something more automated?
select
status
,reason
,sum(case when data = '2010-04-13'
then 1
else 0
end) as 20100413
,sum(case when data = '2010-04-14'
then 1
else 0
end) as 20100414
,sum(case when data = '2010-04-15'...