• 2022-06-03
    给名字是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