easy5 pts · first answer countssqlnull-handling
Filtering with = NULL
The column col holds the values 1, NULL, 2, NULL. What does this query return?
SELECT COUNT(*) FROM t WHERE col = NULL;
Discussion 0
Join free to post in the discussion.
Related questions
- Purpose of a primary keyData Engineer
- Row count of a LEFT JOINData Engineer
- COUNT(*) vs COUNT(column)Data Engineer
- Filtering groups with HAVINGData Engineer
- Adding a number to NULLData Engineer
- Orders pointing to missing customersData Engineer
- avg and count with a null valueData Engineer
- Upserting into a target tableData Engineer