登录后绑定QQ、微信即可实现信息互通
select s.id,s.名字,sum(case s.科目 when '数学' then s.分数 else 0 end) as 数学,sum(case s.科目 when '语文' then s.分数 else 0 end) as 语文,sum(case s.科目 when '英语' then s.分数 ...
这个也算是比较经典的行转列了 select sname ,max(case when course ='java' then score else 0 end ) as java_score ,max(case when course ='java' and score>= 60 then '...
提出你的第一个问题
回答一个你擅长的问题
对内容进行点赞或者收藏
阅读声望与权限的规范
完善个人资料