DROP VIEW filmy;
DROP VIEW umelci;
DROP VIEW obsazeni;
DROP VIEW rezie;

CREATE VIEW filmy    AS SELECT * FROM sqltutor.filmy; 
CREATE VIEW umelci   AS SELECT * FROM sqltutor.umelci;
CREATE VIEW obsazeni AS SELECT * FROM sqltutor.obsazeni;
CREATE VIEW rezie    AS SELECT * FROM sqltutor.rezie;

REVOKE ALL   ON filmy    FROM public;
REVOKE ALL   ON umelci   FROM public;
REVOKE ALL   ON obsazeni FROM public;
REVOKE ALL   ON rezie    FROM public;

GRANT SELECT ON filmy    TO public;
GRANT SELECT ON umelci   TO public;
GRANT SELECT ON obsazeni TO public;
GRANT SELECT ON rezie    TO public;

