write a query to remove null following table are
id name
101 dinesh
null jyothi
null bharathi
102 suresh
null shilpha
103 prakesh
null suma

i want the output format like

id name
101 dinesh
102 suresh
103 prakesh

Answer Posted / sumit

select id,name from table where id is not null;

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is heap table? : Sql dba

601


Is ms sql is free?

526


What is bind variable in pl sql?

520


How do I start pl sql?

490


How to start the command-line sql*plus?

562






what is a database transaction? : Sql dba

581


how to escape special characters in sql statements? : Sql dba

504


Is sql port 1433 encrypted?

570


Why partition by is used in sql?

550


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

6065


Can we use distinct and group by together?

582


What is trigger point?

529


How much does sqlite cost?

551


What is pl sql and why it is used for?

565


What is difference between mysql and postgresql?

509