Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Exercises
7. Elder cats have some fun

Instruction

Good job! How about this one?

Exercise

Select all data for cats that:

  • are older than 10 years,
  • are either Ragdoll or Abyssinian,
  • have a known favorite toy.

Stuck? Here's a hint!

When looking only for fields that doesn't have the NULL value we can use the IS NOT NULL operator:

AND FavToy IS NOT NULL