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 / ajit nayak

Delete from <tab_name>
where id is 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 are date and time functions in mysql? : Sql dba

536


Explain the significance of the & and && operators in pl sql.

573


Show the two pl/sql cursor exceptions.

614


How can you maintain the integrity of your database on instances where deleting an element in a table result in the deletion of the element(s) within another table?

665


What are user defined functions?

580






what is cursor. write example of it. What are the attributes of cursor.

746


What is a nested table in word?

534


How do you modify a table in sql?

565


How does join work in sql?

556


What is sqlexception in java?

551


How do I run sql?

622


What trigger means?

567


What are the different types of functions in sql?

515


Do foreign keys improve performance?

547


What is a relationship and what are they?

580