题目 更新时间:2024/11/20
已知表T1含有字段ID、CourseID和Score,且数据为
ID | CourseID | Score |
3 | 1 | 90 |
2 | 1 | 85 |
2 | 2 | 90 |
3 | 2 | 80 |
则语句“select id,sum(Score) from T1 group by ID”的执行结果为( )(单选题)
.ID sum(Score)\n
—– ———-\n
3 170\n
2 175
.ID sum(Score)\n
—– ———-\n
2 175\n
3 170
.ID sum(Score)\n
—– ———-\n
2 170\n
3 175
.ID sum(Score)\n
—– ———-\n
3 175\n
2 170
答案