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 / ajit
select Replace ( Wm_concat( a ), ',' ) Actout
from Tablename;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is data control language (dcl)?
What is field delimiter?
What are the uses of sysdate and user keywords?
What mean sql?
What is the difference between inner join and left join?
How many sql statements are used?
What is the difference between syntax error and runtime error?
Define tables and fields in a database
what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba
What is denormalization in a database?
What is posting?
Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints
Explain the methods used to protect source code of pl/sql.
What are the operators in sql?
what does myisamchk do? : Sql dba