Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
5. Exercise 1


Good job! Let's start the quiz.


We want to find out which ingredients we have of the fruit, vegetable, and sweets types. From the ingredient table, select the name and type of each ingredient that falls into one of those three categories.

Stuck? Here's a hint!

To filter ingredients, use the WHERE clause. Use the IN operator to test for appropriate types.

If you don't remember how to get data from a table, look at Basics of PostgreSQL, Part 2: Selecting from a table.