单选题 MySQL数据程序设计
2016-02-04

给名字是zhangsan的用户分配对数据库studb中的stuinfo表的查询和插入数据权限的语句是(  )

A.grant select,insert on studb.stuinfo for‘zhangsan’@’localhost’
B.grant select,insert on studb.stuinfo to ‘zhangsan’@’localhost’
C.grant‘zhangsan’@’localhost’ to select,insert for studb.stuinfo
D.grant ‘zhangsan’@’localhost’ to studb.stuinfo on select,insert

参考答案

B

答案解析

暂无解析

你可能感兴趣的试题

A.WITH GRANT OPTION
B.WITH ROLLUP
C.WITH MAX_QUERIES_PER_HOUR 1
D.WITH UP
A.mysql
B.grant
C.set password
D.change password