100) Regarding the interchangeability of subqueries and joins, ________.
A) a join can always be used as an alternative to a subquery, and a subquery can always be used
as an alternative to a join
B) a join can sometimes be used as an alternative to a subquery, and a subquery can sometimes
be used as an alternative to a join
C) a join can always be used as an alternative to a subquery, and a subquery can sometimes be
used as an alternative to a join
D) a join can sometimes be used as an alternative to a subquery, and a subquery can always be
used as an alternative to a join
101) In an SQL query of two tables, which SQL keyword indicates that we want data from all
the rows of one table to be included in the result, even if the row does not correspond to any data
in the other table?
A) LEFT JOIN
B) RIGHT JOIN
C) INCLUDE
D) Both A and B are correct
102) Suppose tables EMPLOYEE and CUSTOMER both store address information, and you
want to send a letter to all employees and customers of your company to make a major
announcement. Which SQL keyword would you most likely use here?
A) INTERSECT
B) UNION
C) UNION ALL
D) JOIN