Loading...

SQL Server

What type of join is needed when you wish to include rows that do not have matching values?
  1. Equi-join
  2. Natural join
  3. Outer join
  4. All of the Mentioned
What type of join is needed when you wish to return rows that do have matching values?
  1. Equi-join
  2. Natural join
  3. Outer join
  4. All of the Mentioned
Which of the following is one of the basic approaches for joining tables?
  1. Subqueries
  2. Union Join
  3. Natural join
  4. All of the Mentioned
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 WHERE CUSTOMER_T. CUSTOMER_ID = ORDER_T. CUSTOMER_ID?
  1. Equi-join
  2. Natural join
  3. Outer join
  4. Cartesian join
A UNION query is which of the following?
  1. Combines the output from no more than two queries and must include the same number of columns
  2. Combines the output from no more than two queries and does not include the same number of columns
  3. Combines the output from multiple queries and must include the same number of columns
  4. Combines the output from multiple queries and does not include the same number of columns
Which of the following statements is true concerning subqueries?
  1. Involves the use of an inner and outer query
  2. Cannot return the same result as a query that is not a subquery
  3. Does not start with the word SELECT
  4. All of the mentioned
Which of the following is a correlated subquery?
  1. Uses the result of an inner query to determine the processing of an outer query
  2. Uses the result of an outer query to determine the processing of an inner query
  3. Uses the result of an inner query to determine the processing of an inner query
  4. Uses the result of an outer query to determine the processing of an outer query
How many tables may be included with a join?
  1. One
  2. Two
  3. Three
  4. All of the Mentioned
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?
  1. Equi-join
  2. Natural join
  3. Outer join
  4. Cartesian join
Which is not a type of join in T-SQL?
  1. Equi-join
  2. Natural join
  3. Outer join
  4. Cartesian join