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 to use sql statements in pl/sql?
What is nosql db?
what is “go” in t-sql? : Transact sql
What do you mean by stored procedures?
What type of database is cloud sql?
what are the difference between clustered and a non-clustered index? : Sql dba
What is sql table?
If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????
how to create a table index in mysql? : Sql dba
what are the non-standard sql commands supported by 'mysql'? : Sql dba
Explain the update statement in sql
What is a column in a table?
What is type and rowtype in pl sql?
what is the command line end user interface - mysql? : Sql dba
What is sql clause?