select SUM(sales_price) as sales_total, CAST(SUM(sales_price)/COUNT(DISTINCT(user_id)) as decimal(10,2)) as per_trans from sales_tb