oracle 12 column switch for a comma splice wm_concat (oracle 11g supports) fails by listagg

Here Insert Picture Description
SELECT
LISTAGG ( STUDENT_ID, ‘,’ ) WITHIN GROUP ( ORDER BY CLASS_ID) as studentIDs
FROM T_CLASS

Here Insert Picture Description

Published 37 original articles · won praise 29 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_42755868/article/details/104317623