Viewing 2 posts - 1 through 3 (of 3 total)
It worked great!
Thanks for the replies.
I was wondering if its possible to list only customers who made purchases in both years.
I mean i get a lot of these:
Customers | 2014...
April 27, 2015 at 2:53 am
#1793589
Thanks for the info.
Is there a way to do something like this (without the year limitation in the WHERE clause):
SELECT customers.name,
(
SELECT (SUM(unitprice*qt) AS total
FROM Products
INNER JOIN Orders ON Orders.id...
April 24, 2015 at 11:18 am
#1793362