#391

Leads and Partners per Day

For each date_id and make_name, count the number of distinct leads and distinct partners. Return date_id, make_name, unique_leads, and unique_partners.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

date_idmake_nameunique_leadsunique_partners
2020-12-07honda32
2020-12-07toyota12
2020-12-08honda22

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid