Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Boolean
32. Boolean - querying the table
Date and time
Summary

Instruction

Excellent. You may, of course, use the boolean type in your SELECT statements:

SELECT *
FROM verification
WHERE is_verified = FALSE;

The above query will select all users that were not verified.

Exercise

Let's see who is trustworthy on the website. Select all user_id values from the table verification where the users were verified (column is_verified).

Stuck? Here's a hint!

Type

SELECT user_id
FROM verification
WHERE is_verified = TRUE;