how to eliminate null values in a column i.e
table vlaues
1 2 3
NULL 3 4
1 5 NULL
i want output like this
1 2 3
3 4
1 5
i dnt want to use nvl is null and i dnt want replace the
NULL value with any value i.e nvl(col,o);
Answer Posted / j.n.tripathi
Hi
Sorry To ALL.....
For Above Answer
Writing Mistake there.....
You Can Replace the null without using nvl
function.
using replace key world
like this
Select Replace(values,'null')
from demo
it will display the result like this
1 2 3
3 4
1 5
Thanks
J.N.Tripathi
9868703898
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Can a varchar be a primary key?
hi,i plan to put experience on PLSQL ,can anyone suggest me for any institutes in bangalore or how to prepare for interviews
What is the sql case statement?
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
how to drop an existing index in mysql? : Sql dba
How can we avoid duplicating records in a query?
explain what is mysql? : Sql dba
what is index? : Sql dba
what is a view? : Sql dba
What is cartesian join in sql?
What are schema-level triggers?
explain mysql aggregate functions. : Sql dba
what is heap table? : Sql dba
What are different sql data types?
What is the process of copying data from table a to table b?