solulubeta
Sign in
SQL / Joining tables
03.09 · SQL

Popularity count

For every product, including those never sold, return product_name and sales_count: how many sales it appears in (0 if none).

Medium 3 min Pro

This lesson is part of solulu Pro

For every product, including those never sold, return product_name and sales_count: how many sales it appears in (0 if none).

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this as done when you are finished.

Item 31 of 77 · updated 2026-10-12