Skip to content
RED SAGSkills
medium10 pts · first answer countssqlnull-handling

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';
Choose one answer