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
Can you selectively load only those records that you need? : aql loader
How to set up sql*plus output format in oracle?
What is the starting oracle error number? What is meant by forward declaration in functions?
Why is sql important?
what is index? : Sql dba
what is self-join? : Sql dba
What is an implicit commit?
What is orm in sql?
What information is needed to connect sql*plus an oracle server?
What is the difference between sql, mysql and sql server?
Can there be 2 primary keys in a table?
What is nosql example?
Does sql view stored data?
Can you upgrade sql express to full sql?
What is the difference between sql and t sql?