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

Hi Ramkrish,

select *from k;

SNO
-----
1
2
3


3
4



9 rows selected

select sno from k where sno is not null;

SNO
-----
1
2
3
3
4

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can unique keys be null?

661


what is a trigger in mysql? : Sql dba

784


what is union? : Sql dba

739


Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.

757


What is the difference between numeric and autonumber?

697






How can we implement rollback or commit statement in a trigger?

786


What is data type in database?

726


What does bitemporal mean?

759


What is sql trigger example?

751


Does a primary key have to be a number?

687


What is the use of primary key?

731


Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql

742


how does a local variable is defined using t-sql? : Transact sql

725


Name some usages of database trigger?

746


How to take user input in pl sql?

887