Is there an Oracle SQL query that aggregates multiple rows into one row? [duplicate]
(WARNING – WM_CONCAT is an unsupported function that was removed in version 12c. Unless you’re using a very old database, you should avoid this function. You should probably use LISTAGG instead.) It depends on the version of Oracle you’re using. If it supports the wm_concat() function, then you can simply do something like this: SELECT … Read more