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
how are mysql timestamps seen to a user? : Sql dba
What does dml mean?
What is string join?
What is the example of procedure?
What are records give examples?
What is a left inner join?
Which tcp/ip port does sql server run on? How can it be changed? : Sql dba
How do I run sql profiler?
How do you sort in sql?
What is trigger in pl sql?
What is the difference between a primary key and a clustered index?
What are the events on which a database trigger can be based?
Can we insert in sql function?
Explain the significance of the & and && operators in pl sql.
What are analytic functions in sql?