A+ Answers



Question 1: True or False - A LEFT OUTER JOIN is always faster than a NOT EXISTS statement. 

Question 2: 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. 

Question 3: 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. 

Question 4: The UNION clause is used to combine the output from multiple queries together into a single result table.

A. True B. False 

Question 5: 

A correlated subquery is where the outer query depends on data from the inner query.

A. True B. False 

Question 6: With the UNION clause, each query involved must output the same number of columns, and they must be UNION compatible.

A. True B. False 

Question 7: 

A UNION query is which of the following?

A. Combines the output from no more than two queries and must include the same number of columns. 

B. Combines the output from no more than two queries and does not include the same number of columns. 

C. Combines the output from multiple queries and must include the same number of columns. 

D. Combines the output from multiple queries and does not include the same number of columns. 

Question 8:

Which of the following statements is true concerning subqueries?

A. Involves the use of an inner and outer query. 

B. Cannot return the same result as a query that is not a subquery. 

C. Does not start with the word SELECT. 

D. All of the above. 

Question 9: Explain a SQL Server deadlock is.

Question 10 ÖÖÖÖÖ..specifies a search condition for a group or an aggregate.

A) GROUP BY Clause

B) HAVING Clause

C) FROM Clause

D) WHERE Clause