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

What is the purpose of normalization?

535


What are different categories of sql commands?

634


define sql insert statement ? : Sql dba

550


What is cursor in pl sql?

578


Does google use sql?

512






Can you do multiple joins in sql?

548


Can we use insert statement in function?

516


How to add new employee details in an employee_details table with the following details

647


how can I make a script that can be bi-language (supports english, german)? : Sql dba

536


Why truncate is used in sql?

531


how do you control the max size of a heap table? : Sql dba

536


Why select is used in sql?

518


How do you update a value in sql?

549


how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc

3241


Is primary key clustered index?

522