wirte a query to remove null? following table are
col1 col2 col3
dinesh null null
null suresh null
null null prakesh
i want the output like
col1 col2 col3
dinesh suresh prkaesh
Answer Posted / apsar
select distinct((select col1 from z1 where no is not null))col1,(select col2 from z1 where sal is not null)col2,select col3 from z1 where col is not null) from z1
Hint:z1 is Table Name
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what are date and time intervals? : Sql dba
What is sql dialect?
What is exception? What are the types of exceptions?
Which version of sql do I have?
What is the main difference between sql and pl/sql?
How is use pl and sql?
Can a foreign key have a different name?
Can one improve the performance of sql*loader? : aql loader
Which is better varchar or nvarchar?
What sql database should I use?
Can we use delete in merge statement?
How to Declare Fixed Length String Value In PL SQL
what are all types of user defined functions? : Sql dba
Explain polymorphism in pl/sql.
Can we rollback delete command?