Modifying the Database
Next: Insertion
Up: Query-by-Example (QBE)
Previous: Aggregate Operations
-
QBE has facilities for modifying the database.
Deletion
-
We simply use D. instead of the P. operator.
Whole tuples may be deleted, or only some columns.
-
Delete all of Smith's account records:

-
Delete the branch-city value for the SFU branch:

-
Delete all loans with loan numbers between 1300 and 1500:


-
Delete all accounts at branches located in Burnaby:


Page created and maintained by Osmar R. Zaï ane
Last Update:
Mon Oct 16 16:41:58 PDT 1995