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

What are the different set operators available in sql?

565


Why do we use joins?

568


How do I install microsoft sql?

531


What is a procedure in pl sql?

550


Can we enter data in a table in design view?

516






how to include numeric values in sql statements? : Sql dba

561


What is a temporal table?

496


What is null in pl/sql?

626


Is natural join same as inner join?

507


What is compound trigger?

559


What is %s in sql?

565


Can you have a foreign key without a primary key?

510


what are local and global variables and their differences? : Sql dba

540


Are null values same as that of zero or a blank space?

533


Is record in pl sql?

516