have table with two columns with datatypes as number and
varchar and the values in
A column like 1,2,3 AND B column values like a,b,c.
now need to display data in a single column as 1,a,2,b,3,c.

Answer Posted / kavitha neditunta

select WM_CONCAT(a||','||b)
from tablename;

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create your own reports in sql developer?

729


What is primary key and foreign key?

715


Can you load data into multiple tables at once? : aql loader

800


When are we going to use truncate and delete?

714


What is %type in sql?

691






What is online transaction processing (oltp)?

749


What is forward declaration in pl sql?

758


What's the difference between a primary key and a clustered index?

715


What is difference between procedure and trigger?

671


Which software is used for pl sql programming?

677


What are the commands used in sql?

735


How to use distinct and count in sql query? Explain

765


What packages are available to pl/sql developers?

811


Does sqlite need a server?

734


what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba

807