hard20 pts · first answer countswindow-functionssqljoins
Order count of zero after a LEFT JOIN
Customers are LEFT JOINed to orders. A customer with no orders shows order_count = 1 with COUNT(*) OVER (PARTITION BY c.id). How do you fix it?
Discussion 0
Join free to post in the discussion.