Database - Advanced SQL

Exercise : Advanced SQL - General Questions
11.
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.
Answer: Option
Explanation:
No answer description is available. Let's discuss.

12.
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.
Answer: Option
Explanation:
Correlated subquery references a column in the outer query and executes the subquery once for every row in the outer query while Uncorrelated subquery executes the subquery first and passes the value to the outer query.

13.
How many tables may be included with a join?
One
Two
Three
All of the above.
Answer: Option
Explanation:
No answer description is available. Let's discuss.

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
Answer: Option
Explanation:
No answer description is available. Let's discuss.

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).
Answer: Option
Explanation:
No answer description is available. Let's discuss.