














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















INSERT INTO Beers(name)
SELECT beer FROM Sells WHERE NOT EXISTS (SELECT * FROM Beers WHERE name = beer);
5
beers that do not appear in Beers. We add them to Beers with a NULL manufacturer.
CREATE VIEW SafeEmps AS
SELECT name, addr FROM Emps;
GRANT ON
REVOKE ON