1.在oracle中,group by后将字符拼接.任务:在学生表中,有studentid和subject两个字段.要求对studentid进行group by分组,并将所选科目拼接在一起.oracle中sql语句如下. select studentid, listagg(subject, ',') within group(order by subject) from student group by studentid; 第一幅图是未分组的数据显示,第二幅图是分组后的字符串连接之后的显示.…