把对关系SPJ的属性QTY的修改权授予用户李勇的SQL语句是()。A.GRANT QTY ON SPJ TO '李勇'B.GRANT UPDATE(QTY) ON SPJ TO '李勇'C.GRANT UPDATE (QTY) ON SPJ TO 李勇D.GRANT UPDATE ON SPJ (QTY) TO '李勇'
把对关系SPJ的属性QTY的修改权授予用户李勇的SQL语句是()。
A.GRANT QTY ON SPJ TO '李勇'
B.GRANT UPDATE(QTY) ON SPJ TO '李勇'
C.GRANT UPDATE (QTY) ON SPJ TO 李勇
D.GRANT UPDATE ON SPJ (QTY) TO '李勇'
参考答案和解析
GRANT UPDATE(QTY) ON SPJ TO张三
相关考题:
●假设供应商S和供应情况SPJ的关系模式分别为S(Sno,Sname,Status,City)和SPJ(Sno,Pno,Jno,Qty)。SQL语句 (19) 不能正确地查询出"零件号Pno等于'P3'的供应商名Sname",而 (20) 能正确查询的关系代数表达式。(19) A.SELECT DISTINCT SnameFROMSWHERE EXISTS(SELECT*FROM SPJWHERE S.Sno=SPJ.SnOAND SPJ.Pno=′P3′B.SELECT DISTmCT SnameFROMSWHERE 0(SEIECT COUNT(*)FROM SPJWHERE S.Sno=SPJ.SnoAND SPJ.Pno=′P3′)C.SELECT SnameFROMSWHERE EXISTS(SELECT*FROM SPJWHERE S.Sno=SPJ.SnoAND SPJ.Pno=′P3′)D.SELECT SnameFROMS,SPJWHERES.Sno=SPJ.SnoAND SPJ.Pno=′P3′)GROUP BYSname(20) A.Πsname(S)Dσ 0 Pno=′P3′(SPJ)B.Πsname(SD∞σ Pno=′P3′(SPJ))C.Πsname(S)-Πsname(σ Pno≠′P3′(Sσσ(SPJ)D.Πsname(S)-Πsname((S∞σ Pno≠′P3′(SPJ)
已知关系SPJ(S,P,J,QTY),把对关系SPJ的属性QTY的修改权授予用户张三的T-SQL语句是( ) A.GRANT QTY ON SPJ TO 张三B.GRANT UPDATE ON SPJ TO张三C.GRANT UPDATE (QTY) ON SPJ TO张三D.GRANT UPDATE ON SPJ (QTY) TO张三
把对表ZONE的INSERT权限授予用户Smith,并允许他再将此权限授予其他人。(2)收回已经授予Tom的对FlowerInfo中属性ComName的修改权限。(3)建立视图viewpot,表现问题2的功能。
把对关系SC的属性GRADE的修改权授予用户ZHAO的SQL语句是()。 A、GRANTGRADEONSCTOZHAOB、GRANTUPDATEONSCTOZHAOC、GRANTUPDATE(GRADE)ONSCTOZHAOD、GRANTUPDATEONSC(GRADE)TOZHAO
利用SQL的GRANT语句可向用户授予操作权限。当用该语句向用户授予操作权限时,若允许用户将获得的权限再授予其他用户,应在该语句中使用短语( )。 A.WITH PRIVILEGES B.WITH OPTION C.WITH GRANT OPTION D.WITH ALL PRIVILEGES
把对表SC的查询权限授予所有用户的SQL语句是( )。A.GRANT SELECT ON TABLE SC TO PublicB.GPANT SELECT ON TABLE SC TO AllC.GRANT SELECT ON SC TO PublicD.GRANT SELECT ON SC TO All
假设供应商S和供应情况SPJ的关系模式分别为:S(Sno, Sname, Status, City)和SPJ(Sno, Pno, Jno, Qty)。SQL语句______不能正确地查询出“零件号Pno等于'P3'的供应商名Sname”。A.SELECT DISTINCT Sname FROM S WHERE EXISTS (SELECT* FROM SPJ WHERE S.Sno=SPJ.Sno AND SPJ.Pno='P3')B.SELECT DISTINCT Sname FROM S WHERERE 0< (SELECT COUNT (*) FROM SPJ WHERE S.Sno=SPJ.Sno AND SPJ.Pno='P3')C.SELECT Sname FROM S WHERE EXISTS (SELECT* FROM SPJ WHERE S.Sno=SPJ.Sno AND SPJ.Pno='P3')D.SELECT Sname FROM S, SPJ WHERE S.Sno=SPJ.Sno AND SPJ.Pno='P3') GROUP BY Sname
现在有两个关系模式:供应商S(Sno,Sname,Status,City)和供应情况SPJ(Sno,Pno,Jno, Qty)。对于查询“查询零件号Pno等于‘P3’的供应商名Sname”SQL语句(221)是错误的,而关系代数表达式(222)是正确的。A.SELECTSname FROM S WHERE EXIST5(SELECT * FROM SPJ WHERE S.Sno=SPJ.Sno AND SPJ.Pno='P3')B.SELECT Sname FROM S,SPJ WHERE S.Sno=SPJ.Sno AND SPJ.Pno='P3') CROUP BY SnameC.SELECT DISTINCT Sname FROM S WHERE EXISTS(SELECT * FROM SPJ WHERE S.Sno=SPJ.Sno AND SPJ.Pno='P3')D.SELECT DISTINCT Sname FROM S WHERERE 0<(SELECTCOUNT(,) FROM SPJ WHERE S.Sno=SPJ.Sno AND SPJ.Pnn='P3')
写出如下SQL实现语句。(1)把对表Zone的INSERT权限授予用户Smith,并允许它再将此权限授予他人。(2)收回已经授予Tom的对表FlowerInfo中属性ComName的修改权限。(3)建立视图viewpot,表现问题2的功能。
假设供应商S和供应情况SPJ的关系模式分别为S(Sno,Sname,Status,City)和SPJ(Sno,Pno,Jno,Qty)。SQL语句(25)不能正确地查询出“零件号Pno等于'P3'的供应商名Sname",而(26)能正确查询的关系代数表达式。A.SELECT DISTINCT Sname FROM S WHERERE 0 <(SELECT COUNT( *)FROM SPJ WHERE S. Sno = SPJ. Sno AND SPJ. Pno = 'P3')B.SELECT DISTINCT Sname FROM S WHERE EXISTS(SELECT * FROM SPJ WHERE S. Sno=SPJ. Sno AND SPJ. Pno= 'P3')C.SELECT Sname FROM S WHERE EXISTS( SELECT * FROM SPJ WHERE S. Sno = SPJ. Sno AND SPJ. Pno = 'P3')D.SELECT Sname FROM S, SPJ WHERE S. Sno = SPJ. Sno AND SPJ. Pno = 'P3' GROUP BY Sname
将表Emp的empname属性列的修改权限授予用户LIU,并允许LIU再将此权限转授其他人,实现的SQL语句是(48)。A.GRANT update on Emp TO LIU WITH CHECK OPTIONB.GRANT update(empname)on Emp TO LIU WITH CHECK OPTIONC.GRANT update on Emp TO LIU WITH GRANT OPTIOND.GRANT update(empname)on Emp TO LIU WITH GRANT OPTION
假设供应商S和供应情况SPJ的关系模式分别为:S(Sno,Sname,Status,City)和SPJ(Sno,Pno,Jno,Qty)。SQL语句(22)不能正确地查询出“零件号Pno等于‘P3’的供应商名Sname",而(23).能正确查询的关系代数表达式。A.SELECT DISTINCT SnameB.SELECT DISTmCT Sname FROMS FROMS WHERE EXISTS WHERE 0<(SELECT *(SEIECT COUNT(*)FROM SPJ FROM SPJ WHERE S.Sno=SPJ.SnO WHEREC.SELECT SnameD.SELECT Sname FROMS FROMS, SPJ WHERE EXISTS WHERES.Sno=SPJ.Sno(SELECT * AND SPJ.Pno= 'P3')FROM SPJ GROUP BYSname W
要将部门表Dept中name列的修改权限赋予用户Ming,并允许Ming将该权限授予他人。实现该要求的SQL语句如下:GRANT UPDATE(name) ON TABLE Dept TO Ming ( ): A.FOR ALLB.CASCADEC.WITH GRANT OPTIOND.WITH CHECK OPTION
假设供应商S和供应情况SPJ的关系模式分别为S(Sno,Snaale,Status,City)和SPJ(Sno,Pno,Jno,Qty)。SQL。语句(19)不能正确地查询出“零件号Pno等于‘P3’的供应商名Snam”,而(20)能正确查询的关系代数表达式。A.SELECT DISTINCTSnameB.SELECT DISTm CTSname FROMS FROMS WHERE EXISTS WHERE 0<(SELECT*(SELECTCOUNT(*)FROM SPJ FROM SPJ WHERE S.Sno=SPJ.SnO WHERE S.Sno;SPJ.Sno AND SPJ.Pno;C.SELECT ShameD.SELECT Sname FROMS FROMS,SPJ WHERE EXISTS WHERES.Sno=SPJ.Sno(SELECT* ANDSPJ.Pno='P3')FROM SPJ GROUP BYSname WHERE S. Sno=SPJ. Sno
将查询关系S的权限授予用户WANG,并允许该用户将此权限授予其他用户。实现此功能的SQL语句是()。A.GRANTSELECTTOSONWANGWITHGRANTOPTIONB.GRANTSELECTONSTOWANGWITHGRANTOPTIONC.GRANTSELECTTOSTOWANGWITHGRANTOPTIOND.GRANTSELECTONSONWANGWITHGRANTOPTION
把对关系SC的属性GRADE的修改权授予用户ZHAO的T-SQL语句是()A.GRANTGRADEONSCTOZHAOB.GRANTUPDATEONSCTOZHAOC.GRANTUPDATE(GRADE)ONSCTOZHAOD.GRANTUPDATEONSC(GRADE)TOZHAO
若要将部门表Demp中name列的修改权限赋予用户Ming。并允许Ming将该限授予他人。实现的SQL语句如下。GRANT( )ON TABLE Demp TO Ming(请作答此空)A.FOR ALLB.CASCADEC.WITH GRANT OPTIOND.WITH CHECK OPTION
把对关系SC的属性GRADE的修改权授予用户ZHAO的SQL语句是 ()A、GRANT GRADE ON SC TO ZHAOB、GRANT UPDATE ON SC TO ZHAOC、GRANT UPDATE (GRADE) ON SC TO ZHAOD、GRANT UPDATE ON SC (GRADE) TO ZHAO
单选题把对关系SPJ的属性QTY的修改权授予用户李勇的T-SQL语句是()AGRANT QTY ON SPJ TO '李勇'BGRANT UPDATE(QTY) ON SPJ TO '李勇'CGRANT UPDATE (QTY) ON SPJ TO 李勇DGRANT UPDATE ON SPJ (QTY) TO 李勇
单选题向用户授予操作权限的SQL语句是()。ACTEATEBREVOKECSELECTDGRANT