MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Database
Advanced SQL
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
Outer join is the same as equi-join, except one of the duplicate columns is eliminated in the result table.
True
False
Q.2
A correlated subquery is where the outer query depends on data from the inner query.
True
False
Q.3
A function returns one value and has only output parameters.
True
False
Q.4
With the UNION clause, each query involved must output the same number of columns, and they must be UNION compatible.
True
False
Q.5
Which of the following statements is true concerning subqueries?
Involves the use of an inner and outer query.
Cannot return the same result as a query that is not a subquery.
Does not start with the word SELECT.
All of the above.
Q.6
Triggers are stored blocks of code that have to be called in order to operate.
True
False
Q.7
Which of the following is a correlated subquery?
Uses the result of an inner query to determine the processing of an outer query.
Uses the result of an outer query to determine the processing of an inner query.
Uses the result of an inner query to determine the processing of an inner query.
Uses the result of an outer query to determine the processing of an outer query.
Q.8
The joining technique is useful when data from several relations are to be retrieved and displayed and the relationships are not necessarily nested.
True
False
Q.9
A transaction is the complete set of closely related update commands that must all be done, or none of them done, for the database to remain valid.
True
False
Q.10
How many tables may be included with a join?
One
Two
Three
All of the above.
Q.11
There should be one condition within the WHERE clause for each pair of tables being joined.
True
False
Q.12
When AUTOCOMMIT is set on, changes will be made automatically at the end of each SQL statement.
True
False
Q.13
The UNION clause is used to combine the output from multiple queries together into a single result table.
True
False
Q.14
The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T ;
Equi-join
Natural join
Outer join
Cartesian join
Q.15
Which of the following is true concerning triggers?
You do not create them with SQL.
They execute against only some applications that access a database.
They have an event, condition, and action.
They cannot cascade (cause another trigger to fire).
Q.16
Subqueries can be nested multiple times.
True
False
Q.17
The code to create triggers and routines is stored in only one location and is administered centrally.
True
False
Q.18
ROLLBACK WORK asks SQL to empty the log file.
True
False
Q.19
The most frequently used relational operation, which brings together data from two or more related tables into one resultant table, is called an equi-join.
True
False
Q.20
Which of the following is one of the basic approaches for joining tables?
Subqueries
Union Join
Natural join
All of the above
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page