Which of the following is a correlated subquery?
A. Uses the result of an inner query to determine the processing of an outer query.
B. Uses the result of an outer query to determine the processing of an inner query.
C. Uses the result of an inner query to determine the processing of an inner query.
D. Uses the result of an outer query to determine the processing of an outer query.
Answer: Option B
Solution(By Examveda Team)
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.What type of join is needed when you wish to include rows that do not have matching values?
A. Equi-join
B. Natural join
C. Outer join
D. All of the above
What type of join is needed when you wish to return rows that do have matching values?
A. Equi-join
B. Natural join
C. Outer join
D. All of the above
Which of the following is true concerning a procedure?
A. You do not create them with SQL.
B. They do not need to have a unique name.
C. They include procedural and SQL statements.
D. They are the same thing as a function.
A CASE SQL statement is which of the following?
A. A way to establish an IF-THEN-ELSE in SQL.
B. A way to establish a loop in SQL.
C. A way to establish a data definition in SQL.
D. All of the above.
Join The Discussion