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 / vi.s.senthilkumar

select column1||','||column2 result from tableName;

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many columns should be in an index?

707


What is a record in pl/sql?

763


Is primary key an index?

713


Is nosql faster than sql?

744


Explain cursor types?

750






What is the advantage of index in sql?

687


What is acid property in a database?

761


What is hibernate and its relation to sql?

787


What is thread join () in threading?

735


Describe sql comments?

728


What is the difference between left join and right join?

670


What is dcl in sql?

694


Can delete statement be rollbacked?

729


Is sql better than excel?

699


explain the options of myisamchk to improve the performance of a table. : Sql dba

721