Podcast
Questions and Answers
Which type of JOIN returns all records when there is a match in either the left or right table, as well as unmatched records from both tables?
Which type of JOIN returns all records when there is a match in either the left or right table, as well as unmatched records from both tables?
- FULL OUTER JOIN (correct)
- INNER JOIN
- RIGHT JOIN
- LEFT JOIN
Which type of JOIN returns records that have matching values in both tables?
Which type of JOIN returns records that have matching values in both tables?
- FULL OUTER JOIN
- INNER JOIN (correct)
- RIGHT JOIN
- LEFT JOIN
What does a LEFT OUTER JOIN return?
What does a LEFT OUTER JOIN return?
- All records from the right table and the matched records from the left table
- None of the above
- All records when there is a match in either left or right table
- All records from the left table and the matched records from the right table (correct)
What is the purpose of a JOIN clause in SQL?
What is the purpose of a JOIN clause in SQL?
Which type of JOIN returns all records from the left table, and the matched records from the right table?
Which type of JOIN returns all records from the left table, and the matched records from the right table?
What is the purpose of a JOIN clause in SQL?
What is the purpose of a JOIN clause in SQL?
What type of JOIN returns records when there is a match in either left or right table?
What type of JOIN returns records when there is a match in either left or right table?
What does a RIGHT OUTER JOIN return?
What does a RIGHT OUTER JOIN return?
Which of the following aggregate functions can be used with the GROUP BY statement in SQL?
Which of the following aggregate functions can be used with the GROUP BY statement in SQL?
Which of the following SQL statements will list the number of customers in each country, sorted from low to high?
Which of the following SQL statements will list the number of customers in each country, sorted from low to high?
Which of the following is NOT an aggregate function in SQL?
Which of the following is NOT an aggregate function in SQL?
Which of the following SQL statements will list the number of orders sent by each shipper, sorted alphabetically by shipper name?
Which of the following SQL statements will list the number of orders sent by each shipper, sorted alphabetically by shipper name?