SQL Language (MOSC)

MOSC Banner

Concatenate multiple records into one line

in SQL Language (MOSC) 3 commentsAnswered ✓

Hi,

Please can someone help, this is the query below. I need to combine the results from multiple rows into one.


select 

USR, 

USRNAME, AUTPROFILES.AUTPROFNAME

from USERAUTPROFILES

inner join USERS using (USRIK)

inner join AUTPROFILES using (AUTPROFIK)

where INACTIVE='0'

and USR not in 'SERVER'

order by USR


Current Results:

AAIND XYZ MIPD Risk and Compliance

AAIND XYZ Use servers for calculations


Required results:

AAIND XYZ MIPD Risk and Compliance, Use servers for calculations


Thanks and regards

James

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center