[英]Combining columns where row number/primary key is the same
您需要聚合:
select student_id, max(phase1), max(phase2), max(phase3)
from #temp_results t
group by student_id;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.