Exercise: Advanced Sql
Questions for: Advanced Sql
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 ;
A:
Equi-join
B:
Natural join
C:
Outer join
D:
Cartesian join
Answer: D
No answer description is available. Let's discuss.
How many tables may be included with a join?
A:
One
B:
Two
C:
Three
D:
All of the above.
Answer: D
No answer description is available. Let's discuss.
Discuss About this Question.
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: B
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.
Discuss About this Question.
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.
Answer: A
No answer description is available. Let's discuss.
Discuss About this Question.
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.
Answer: C
No answer description is available. Let's discuss.
Discuss About this Question.
Ad Slot (Above Pagination)
Discuss About this Question.