Loading video...
Video Failed to Load
Is your user analytics query telling the whole story? This SQL developer challenge reveals a common mistake in counting active users. Can you spot what's making the numbers look lower than they should be?
23,846 views • 1 year ago •via X (Twitter)
2 Comments

Google for Developers1 year ago
Think about how your counting method might be affected by users with multiple activity dates. Also, consider whether your HAVING clause is using the same counting logic as your SELECT statement.

Ash1 year ago
HAVING COUNT(*) > 100 will show only regions where active users are greater than 100.
