授予user1用户修改st表中的“姓名”字段的权限,应使用的SQL语句是(
)
A: GRANT
UPDATE(姓名)
ON st TABLE TO user1
B: GRANT
UPDATE(姓名)
ON TABLE st TO user1
C: GRANT
MODIFY(姓名)
ON st TABLE TO user1
D: GRANT
MODIFY(姓名)
ON TABLE st TO user1
)
A: GRANT
UPDATE(姓名)
ON st TABLE TO user1
B: GRANT
UPDATE(姓名)
ON TABLE st TO user1
C: GRANT
MODIFY(姓名)
ON st TABLE TO user1
D: GRANT
MODIFY(姓名)
ON TABLE st TO user1
举一反三
- 撤销user1用户修改st表中的“姓名”字段的权限,应使用的SQL语句是(<br/>) A: REVOKE<br/>UPDATE(姓名)<br/>ON st TABLE FROM user1 B: REVOKE<br/>UPDATE(姓名)<br/>ON TABLE st FROM user1 C: REVOKE<br/>MODIFY(姓名)<br/>ON st TABLE FROM user1 D: REVOKE<br/>MODIFY(姓名)<br/>ON TABLE st FROM user1
- “把查询sc表和更新sc表的grade列的权限受予用户user1”的正确SQL语句是()。 A: GRANT SELECT, UPDATE(gradON TABLE sc TO user1 B: GRANT SELECT sc, UPDATE sc, grade TO user1 C: GRANT SELECT, UPDATE ON TABLE s grade TO user1 D: GRANT SELECT ON TABLE sc, UPDATE ON TABLE sc(grad TO user1
- “把查询SC表和更新SC表的grade列的权限授予用户user”的正确SQL语句是( )。 A: GRANT SELECT sc.UPDATE sc.grade TO user B: GRANT SELECT,UPDATE(grade)ON TABLE sc TO user C: GRANT SELECT,UPDATE ON TABLE sc.grade TO user D: GRANT SELECT ON TABLE sc,UPDATE ON TABLE sc(grade)TO user
- 将查询Student表和修改学生学号的权限授给用户U4。实现此功能的SQL语句是(<br/>)。 A: GRANT UPDATE(Sno),SELECT<br/>ON TABLE Student TO U4 ; B: GRANT UPDATE,SELECT<br/>ON TABLE Student TO U4 ; C: GRANT SELECT ON TABLE<br/>Student TO U4 ; D: GRANT UPDATE ON TABLE<br/>Student TO U4 ;
- 使用GRANT语句创建用户名为user1、密码为123,并授予该用户对chapter08.student表有查询权限。 下面选项中,能实现上述功能的语句是 A: GRANT SELECT ON chapter08.student FOR 'user1'@'localhost' IDENTIFIED BY '123'; B: GRANT USER SELECT ON chapter08.student TO 'user1'@'localhost' IDENTIFIED BY '123'; C: GRANT USER SELECT ON chapter08.student 'user1'@'localhost' IDENTIFIED BY '123'; D: GRANT SELECT ON chapter08.student TO 'user1'@'localhost' IDENTIFIED BY '123';