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 / sivanagaraju
SELECT DISTINCT((SELECT COL1 FROM COLL WHERE COL1<>'NULL')),(SELECT COL2 FROM COLL WHERE COL2<>'NULL'),(SELECT COL3 FROM COLL WHERE COL3<>'NULL')
FROM COLL
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Do we need to rebuild index after truncate?
Why do we go for stored procedures?
What is your daily office routine?
How to know the last executed procedure?
What is bulk collect in pl sql?
How many types of sql are there?
Sql technical questions
What are the types of optimization?
what are the differences between char and varchar? : Sql dba
What are basic techniques of indexing?
Is record in pl sql?
How many types of triggers are there in pl sql?
What does sql stand for?
what is a trigger in mysql? Define different types of trigger. : Sql dba
What is difference between procedure and trigger?