Updating Views
How can I insert a tuple into a table that doesn’t exist?
CREATE VIEW bon-purchase AS
SELECT store, seller, product
WHERE store = ‘The Bon Marche’
If we make the following insertion:
VALUES (‘the Bon Marche’, ‘Joe’, ‘Denby Mug’)
We can simply add a tuple
(‘the Bon Marche’, ‘Joe’, NULL, ‘Denby Mug’)