What number does this SQL query actually run? Go!

6 260
19.5
Published on 2 Feb 2026, 14:00
Here’s a SQL puzzle that looks almost too straightforward.We’re counting users and excluding banned and inactive ones using NOT IN. Assume the table has 100 active users, plus some banned and inactive rows. Many developers would expect this to return 100. It doesn’t. What number does this query actually return, and why?

Subscribe to Google for Developers → goo.gle/developers

Speakers: Jasmyne Roberts
Fresh videos
6 days – 5 67421:46
Frontier Transformation - March 2026
10 days – 81 2190:25
The Pixel 10a is here!
autotechmusickids