Introduction
Exercises
6. The most bored cat

Instruction

Incredible! You're almost at the finish line. Keep going.

Exercise

Select the names of all male cats that don't have a favorite toy – that is, the value of the field fav_toy is NULL for these cats.

Stuck? Here's a hint!

When looking for unknown values we can use the IS NULL clause like this:

AND fav_toy IS NULL

Console

Code editor

Result

TableConsole