Total Sales Value per Member

Problem

Given a transactions table, write a SQL query that returns the total payment amount for each member with at least one transaction. Return member_id and total_sales. Members without tr...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: