Which of the following is used to provide privilege to only a particular attribute?
Grant update(budget,salary,Rate) on department to Raj
Grant update(budget) on department to Raj
Grant select on employee to Amit
Grant delete to Amit
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
| # | Quiz |
|---|---|
|
1
Discuss
|
In the authorization graph, if DBA provides authorization to u1 which in turn gives to u2 which of the following is correct?
Solution |
|
2
Discuss
|
Updates that violate __________ are disallowed.
Solution |
|
3
Discuss
|
To remove a relation from an SQL database, we use the ______ command.
Solution |
|
4
Discuss
|
An attribute A of datatype varchar(20) has the value “Avi”. The attribute B of datatype char(20) has value ”Reed”. Here attribute A has ____ spaces and attribute B has ____ spaces.
Solution |
|
5
Discuss
|
This command performs which of the following action?
Solution |
|
6
Discuss
|
The basic datatype char (n) is a _______ length character string and varchar (n) is _______ length character.
Solution |
|
7
Discuss
|
Which of the following is used to avoid cascading of authorizations from the user?
Solution |
|
8
Discuss
|
Which one of the following is used to define the structure of the relation, deleting relations and relating schemas?
Solution |
|
9
Discuss
|
If we wish to grant a privilege and to allow the recipient to pass the privilege on to other users, we append the __________ clause to the appropriate grant command.
Solution |
|
10
Discuss
|
Which one of the following provides the ability to query information from the database and to insert tuples into, delete tuples from, and modify tuples in the database?
Solution |
| # | Quiz |
Copyright © 2020 Inovatik - All rights reserved