摘要: 枞表转横表 select product_id ,max(case when field='test1' then 1 else 0 end) as test1 ,max(case when field='test2' then 1 else 0 end) as test2 ,max(case wh 阅读全文
posted @ 2023-01-16 14:18 致林 阅读(281) 评论(0) 推荐(0) 编辑