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
Will truncate release space?
What is auto increment feature in sql?
What are string functions in sql?
Mention what pl/sql package consists of?
how would you get the current date in mysql? : Sql dba
How do you update a value in sql?
What is database white box testing and black box testing?
What are all ddl commands?
What is crud sql?
How do you rank data in sql?
what is clause? : Sql dba
Is pl sql better than sql?
how can we find the number of rows in a table using mysql? : Sql dba
How do you declare a variable in pl sql?
What is lexical units in pl sql?