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 / kart
select max(col1) col1,max(col2) col2,max(col3) col3
from table;
col1 col2 col3
dinesh suresh prkaesh
| Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
how to shut down the server with 'mysqladmin'? : Sql dba
What are triggers and its types?
Can we use two order by clause in query?
Is pl sql a scripting language?
what is online transaction processing (oltp)? : Sql dba
Can we have two clustered index on a table?
What does an inner join do?
how to create a new view in mysql? : Sql dba
What are tables and fields?
How do I sort a table in sql?
Why sql query is slow?
How does cross join work in sql?
What is rtm in testing?
What are instead of triggers?
Is drop table faster than truncate?