Set Operations

Use set operations to query data from multiple tables.

Start[missing "en.views.course_landing_page.sql-table-transformation.course_illustration" translation]
Set Operations
Lesson 1 of 1
  1. 1

    Let's continue exploring table transformation through the [...] clause. Unions allow us to utilize information from multiple tables in our queries. In this lesson, we’ll utilize data from a...

  2. 2

    Sometimes, in order to answer certain questions based on data, we need to merge two tables together and then query the merged result. Perhaps we have two tables that contain information about produ...

  3. 3

    Great job! What if we wanted to allow duplicate values? We can do this by using the [...] keyword with [...] , with the following syntax: [...] In our ecommerce store, if we learned that we ...

  4. 4

    [...] is used to combine two [...] statements, but returns rows only from the first [...] statement that are identical to a row in the second [...] statement. This means that it returns onl...

  5. 5

    [...] is constructed in the same way, but returns distinct rows from the first [...] statement that aren’t output by the second [...] statement. [...] Suppose we want to see if there are ...

  6. 6

    Congratulations! We just learned about Set Operations in SQL. What can we generalize so far? The [...] clause allows us to utilize information from multiple tables in our queries. The [...]...

Set Operations

Start[missing "en.views.course_landing_page.sql-table-transformation.course_illustration" translation]