例题 例1把査询 Student表权限授给用户U GRANT SELECT on TABLE Student To 01. An Introduction to Database System
An Introduction to Database System 例题 例1 把查询Student表权限授给用户U1 GRANT SELECT ON TABLE Student TO U1;
例题(续) 例2把对 Student表和 Course表的全部权限 授予用户U2和U3 GRANT ALL PRIVILIGES ON TABLE Student. Course T0U2,U3; 例 An Introduction to Database System
An Introduction to Database System 例题(续) 例2 把对Student表和Course表的全部权限 授予用户U2和U3 GRANT ALL PRIVILIGES ON TABLE Student, Course TO U2, U3; 例4
例题(续) 例3把对表SC的査询权限授予所有用户 GRANT SELECT ON TABLE SC TO PUBLIC An Introduction to Database System
An Introduction to Database System 例题(续) 例3 把对表SC的查询权限授予所有用户 GRANT SELECT ON TABLE SC TO PUBLIC;
例题(续) 例4把查询 Student表和修改学生学号的 权限授给用户U4 GRANT UPDATE(Sno), SELECT ON TABLE Student T0U4; An Introduction to Database System
An Introduction to Database System 例题(续) 例4 把查询Student表和修改学生学号的 权限授给用户U4 GRANT UPDATE(Sno), SELECT ON TABLE Student TO U4;
例题(续) 例5把对表SC的 INSERT权限授予U5用户, 并允许他再将此权限授予其他用户 GRANT INSERT ON TABLE SC TO U5 WITH GRANT OPTION An Introduction to Database System
An Introduction to Database System 例题(续) 例5 把对表SC的INSERT权限授予U5用户, 并允许他再将此权限授予其他用户 GRANT INSERT ON TABLE SC TO U5 WITH GRANT OPTION;