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 / hiya

SELECT REPLACE(A,'NULL',' '),
REPLACE(B,'NULL',' '),
REPLACE(C,'NULL',' ')FROM TEST1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql in java?

635


Is it mandatory for the primary key to be given a value when a new record is inserted?

802


how to select first 5 records from a table? : Sql dba

595


what is the difference between group by and order by in sql? : Sql dba

680


What are the types of keys?

595






How you can copy a file to file content and file to pl/sql table in advance pl/sql?

710


Does db2 use sql?

595


What is a pl/sql block?

682


Can a table contain multiple primary key’s?

705


Which kind of parameters cannot have a default value in pl sql?

685


What is a sql profiler?

670


What is cursor explain with example?

652


What is the clause we need to add in function body to return variable?

656


Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?

675


Is sql easier than java?

627