Hi,
I'm trying to perform a search using count. The table would look something like this:
What I'm trying to do, is to list the complete row of all customers that have bought the same ProductType and ProductVersion more than once (date irrelevant).
From the table above, my desired result would be
Bob Pro 7 2005-01-02
Bob Pro 7 2005-03-30
as this is the only two rows where the same customer has bought more than one Pro's of the same version(7).
Any ideas?
I'm trying to perform a search using count. The table would look something like this:
Code:
Customer ProductType ProductVersion Date
Bob Pro 7 2005-01-02
Bob Pro 7 2005-03-30
Bob Pro 8 2006-01-02
Bob Std 7 2005-01-02
Bob Std 8 2006-01-02
Jim Pro 7 2005-01-02
Jim Pro 8 2006-02-06
From the table above, my desired result would be
Bob Pro 7 2005-01-02
Bob Pro 7 2005-03-30
as this is the only two rows where the same customer has bought more than one Pro's of the same version(7).
Any ideas?