Avatar of Roberto Madro R.
Roberto Madro R.Flag for United States of America asked on

Repeat Group Columns

My request is straight forward, I wan to turn multiple rows into one row with multiple columns in oracle sql.
Oracle Database

Avatar of undefined
Last Comment
Roberto Madro R.

8/22/2022 - Mon
ajexpert

Can you show us the sample output?
ASKER
Roberto Madro R.

Sorry, I have no ouput, and no script generated yet, I'd like to see how you'd approach such request, here's the basics;

That's what I get now.

Unit, Test Type, Test Results

AA, AGN1, 11
AA, XZf2, 13.5
AA, ADGv, 17

I don't care for the "Test Type, I just want the "Unit" and "Test Results" to come out as follows;

AA, 11, 13.5, 17, ..
mpaladugu

select column_name||column_name2||column_name3 column_alias from table name
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
mpaladugu

sorry that is wrong..ignore the above comment
mpaladugu

http://www.oracle-base.com/articles/misc/StringAggregationTechniques.php

above link has a direct answer to your question
ASKER CERTIFIED SOLUTION
mpaladugu

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Roberto Madro R.

I thought I closed this string not due to any specific solution but rather to the deep insights provided by couple of members on this forum, I'm appreciative and thankful for their input, programmers in every field don't necessarily copy other people's ideas but other people's ideas usually inspire them to code differently thus getting the result they want. That's what happened in this case.

Many Thanks
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
Roberto Madro R.

.