What is a Data Model?; The Relational Model; SQL is not Relational 13

The Relational Model: Manipulation

# Insert
Part = { (all current tuples of Part),
         [ part_number: 5,
           part_name: "Big Bird's Head",
           color: "yellow" ],
       };

# Update
Part = { (all current tuples except part_number == 5),
         [ part_number: 5,
           part_name: "Big Bird's Bloody Head",
           color: "red" ],
       };

# Delete
Part = { (all current tuples except part_number == 5) };
Copyright © 2005-2006 David Rolsky