Possible Duplicate:
Oracle: how to UPSERT (update or insert into a table?)
How to Perform an UPSERT so that I can use both new and old values in update part
I want to know that how a single Query can update and delete data from database .
Please help me with this :)