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 version is sql?
What is auto increment?
Mention what does plv msg allows you to do?
What is a column in a table?
What is the difference between left and left outer join?
What is the difference between left join and right join?
What is a mutating table and a constraining table?
How to Declare Fixed Length String Value In PL SQL
what is blob? : Sql dba
What is over () in sql?
What is the difference between having clause and where clause?
what are all different types of collation sensitivity? : Sql dba
What is the benefit of foreign key?
What is the difference between database trigger and stored procedure?
What is function and procedure in pl sql?