SELECT
	date,
	count(*) as num_customers,
	count(distinct user_id) as distinct_customers,
	sum(bananas_sold) as total_bananas,
	sum(revenue) as total_revenue,
	avg(revenue) as revenue_per_sale
FROM banana_sales
GROUP BY date
ORDER BY date;