A Different View
CREATE VIEW Seattle-view AS
SELECT buyer, seller, product, store
WHERE Person.city = “Seattle” AND
Person.name = Purchase.buyer
We can later use the views:
FROM Seattle-view, Product
WHERE Seattle-view.product = Product.name AND
Product.category = “shoes”
What’s really happening when we query a view??