Re: Untitled

From Smelly Finch, 7 Months ago, written in Plain Text, viewed 123 times. This paste is a reply to Untitled from Tiny Moth - go back
URL http://codebin.org/view/27867816/diff Embed
Viewing differences between Untitled and Re: Untitled
SELECT customer_id,
DISTINCT(customer_id),
       SUM(total),
      
      SUM(total)/COUNT(DISTINCT(customer_id))
       
FROM invoice
WHERE billing_country = 'USA'
GROUP BY customer_id;(customer_id);

Reply to "Re: Untitled"

Here you can reply to the paste above