i have a table like this :
Name ADDRESS
Toto 123 ...
Toto 456
ToTo 678

I would like to delete 2 last row...please tell me how to
delete its

Answer Posted / siri

DELETE FROM TABLE WHERE ADDRESS IN('456','678')

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain in brief how does db2 determine what lock-size to use?

597


What is the max length of sqlca?

764


Which component is used to execute the sql statements?

619


How to check last update on table in db2?

628


I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.

1651






Which is faster delete or truncate?

679


How do I delete a table in db2?

649


What are the full forms of spufi and dclgen and why are they used?

656


What is sqlca?

623


How can you classify the locks in db2?

636


What is a db2 schema?

764


What is a system catalog table in db2?

588


Which isolation level provides maximum concurrency?

666


What is buffer pool and list some of them?

630


Is the primary key a clustered index?

611