next up previous
Next: Insertion Up: Query-by-Example (QBE) Previous: Aggregate Operations

Modifying the Database

  1. QBE has facilities for modifying the database.

  1. We simply use D. instead of the P. operator. Whole tuples may be deleted, or only some columns.
  2. Delete all of Smith's account records:

    tabular285

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

    tabular293

  4. Delete all loans with loan numbers between 1300 and 1500:

    tabular300

    tabular308

  5. Delete all accounts at branches located in Burnaby:

    tabular313

    tabular321





Osmar Zaiane
Tue Jun 9 14:17:04 PDT 1998