I have an user table where I am looking for user ids with name john
select USER_ID from user where USER_ID like '%john%'; I get
USER_ID ------- john1 john2 john3 Is there a way I can display that information back from SQLPlus as a single line? like
john1, john2, john3