SQL -Structured Query Language - Overview - SQL Syntax Quiz
# | Quiz |
---|---|
1
Discuss
|
SQL Syntax
Which one of the following is used to define the structure of the relation, deleting relations and relating schemas?
Solution |
2
Discuss
|
SQL Syntax
Updates that violate __________ are disallowed.
Solution |
3
Discuss
|
SQL Syntax
What type of statement is this?
Solution |
4
Discuss
|
SQL Syntax
This command performs which of the following action?
Solution |
5
Discuss
|
SQL Syntax
To remove a relation from an SQL database, we use the ______ command.
Solution |
6
Discuss
|
SQL Syntax
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 |
7
Discuss
|
SQL Syntax
The basic datatype char (n) is a _______ length character string and varchar (n) is _______ length character.
Solution |
8
Discuss
|
SQL Syntax
What type of statement is this?
Solution |
9
Discuss
|
SQL Syntax
What type of statement is this?
Solution |
10
Discuss
|
SQL Syntax
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 |
11
Discuss
|
SQL Syntax
The database administrator who authorizes all the new users, modifies the database and takes grants privilege is
Solution |
12
Discuss
|
SQL Syntax
Which of the following is used to provide privilege to only a particular attribute?
Solution |
13
Discuss
|
SQL Syntax
Which of the following statement is used to remove the privilege from the user Amir?
Solution |
14
Discuss
|
SQL Syntax
Which of the following is used to provide delete authorization to instructor?
Solution |
15
Discuss
|
SQL Syntax
Which of the following is true regarding views?
Solution |
16
Discuss
|
SQL Syntax
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 |
17
Discuss
|
SQL Syntax
In the authorization graph, if DBA provides authorization to u1 which in turn gives to u2 which of the following is correct?
Solution |
18
Discuss
|
SQL Syntax
Which of the following is used to avoid cascading of authorizations from the user?
Solution |
# | Quiz |