当前位置 博文首页 > iloki的博客:SQL union all

    iloki的博客:SQL union all

    作者:[db:作者] 时间:2021-08-25 12:48

    场景:

    c1c2c1百分比c2百分比
    208020%80%
    select c1,c1百分比 from T
    UNION ALL
    select c2,c2百分比 from T
    
    百分比
    2020%
    8080%
    cs