Ascentient
IS-IT--Management
- Nov 4, 2002
- 267
I had originally posted a topic at the following thread for assistance however this won't work.
To me the same concept applies however, I am only working with one table now.
I have a ticket table that contains ticket information for purchases. Customers can buy at any of our locations many times. I am looking to make a query that will give me 1 record for each location the customer buys at.
Data may look like this:
CusterID Location
SMITH1 LC1
SMITH1 LC1
SMITH1 LC3
JONES LC1
JONES LC1
JONES LC1
Requested Output:
CustomerID Location
SMITH1 LC1
SMITH1 LC3
JONES LC1
I hope I have provided enough information if not please let me know.
To me the same concept applies however, I am only working with one table now.
I have a ticket table that contains ticket information for purchases. Customers can buy at any of our locations many times. I am looking to make a query that will give me 1 record for each location the customer buys at.
Data may look like this:
CusterID Location
SMITH1 LC1
SMITH1 LC1
SMITH1 LC3
JONES LC1
JONES LC1
JONES LC1
Requested Output:
CustomerID Location
SMITH1 LC1
SMITH1 LC3
JONES LC1
I hope I have provided enough information if not please let me know.