Hello Frndz,
I have a table named product as shown below:
product_id product_name
1 AAA
1 BBB
1 CCC
2 PPP
2 QQQ
2 RRR
Now my output should be:
product_id product_name_1 product_name_2 product_name_3
1 AAA BBB CCC
2 PPP QQQ RRR
Answer Posted / yuvaevergreen
Hi,
Since the no of output columns is a variable, I think we
may have to write a SP or macro to get the desired output.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Differentiate database data and data warehouse data?
How many tables can you join in v2r5?
What are the advantages of teradata?
Highlight the points of differences between the database and user in Teradata.
What do you mean by fastexport in teradata?
What do you mean by parsing?
What interface is used to connect to windows based applications?
What is bteq utility in teradata?
Is multi insert ansi standard?
Describe primary index in teradata. And what are the available primary index types?
what is sysdba and sysdbc ? which has high priority ?
What is the function of parser component in teradata?
What are the functions performed by bynet?
What are the updated features of teradata?
Explain the most common data types used in teradata?