how can we write a column values horizontal by using sql stmt;
ex:
select name from table_name;(actual output)
a
b
c
d
require output is
a b c d
Answer Posted / ramaraju
select listagg(cust,' ') within group(order by cust) from t2;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
discuss about myisam index statistics collection. : Sql dba
Where are my tempfiles, I don't see them in v$datafile or dba_data_file?
explain what is mysql? : Sql dba
What is pragma in sql?
What is a database trigger?
What are inner outer left and right joins in sql?
what are numeric data types? : Sql dba
How bulk collect improves performance?
how to drop an existing table in mysql? : Sql dba
What does dml mean?
What are the different types of database management systems?
What is cursor and its types?
What is the difference between clustered and non-clustered indexes?
how is exception handling handled in mysql? : Sql dba
What are the steps for performance tuning.