答案 0 :(得分:2)
You could use (a fake) aggregation function and group by
select type_revenue
, max(case when location_name ='30juin' then amount else 0 end) 30Jui
, max(case when location_name ='Bandal' then amount else 0 end) Bandal
from my_tbale
group by type_revenue