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
Why plvtab is considered as the easiest way to access the pl/sql table?
Define sql delete statement.
How to create a menu in sqlplus or pl/sql?
Can we use views in stored procedure?
What is normalisation and its types?
What does the sign mean in sql?
What is a relationship and what are they?
what are date and time functions in mysql? : Sql dba
Is a table valued function object?
What is cursor in pl sql?
What are the basic techniques of indexing?
How can we optimize a sql query?
what is unique key constraint? : Sql dba
What is an invalid partition table?
What is difference between table and view?