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 C1.COL1,C2.COL2,C3.COL3
FROM COLL C1,(SELECT COL2 FROM COLL WHERE COL2 <>'NULL') C2,
(SELECT COL3 FROM COLL WHERE COL3<>'NULL') C3
WHERE C1.COL1<>'NULL';
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Why commit is not used in triggers?
What is informix sql?
What are the parameter modes supported by pl/sql?
What is the difference between joins?
How do I view tables in sql developer?
what are myisam tables? : Sql dba
What is a sql select statement?
What is dynamic sql in pl sql?
Can a primary key be a foreign key?
How do I run sql?
How do you run a query?
What company owns postgresql?
Which is faster truncate or drop?
What is the non-clustered index in sql?
Which type of cursor is used to execute the dml statement?