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