22,302
社区成员




select 类别,商品,
sum(case when 指标='产地' then指标值 end)'产地,'
sum(case when 指标='价格' then指标值 end)'价格,'
sum(case when 指标='保质期' then指标值 end)'保质期,'
sum(case when 指标='清洗' then指标值 end)'清洗,'
sum(case when 指标='有机' then指标值 end)'有机,
from table1 group by 类别,商品