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

2024-01-13

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

A.grant select, insert on studb.stuinfo to ';zhangsan';@';localhost'

B.grant ';zhangsan';@';localhost'; to select, insert for studb.stuinfo

C.grant ';zhangsan';@';localhost'; to studb.stuinfo on select, insert

D.grant select, insert on studb.stuinfo for ';zhangsan';@';localhost'



参考答案:

grant select, insert on studb.stuinfo to ';zhangsan';@';localhost'

相关推荐