SUM over zero matching rows
No orders exist for the region 'Fujairah'. What does this query return, and how do you make it show 0?
SELECT SUM(amount) FROM orders WHERE region = 'Fujairah';
Discussion 0
Join free to post in the discussion.
No orders exist for the region 'Fujairah'. What does this query return, and how do you make it show 0?
SELECT SUM(amount) FROM orders WHERE region = 'Fujairah';
Join free to post in the discussion.