I have a table that lists customers, orders dates, quantities, etc.
i need to write a query that will find the mins and maximums for each customer. Unfortunately, sometimes the quantity is 0. I need to eliminate the o's and find the minimum ordered.
My table looks like:
Cust_No Part Quantity
1 25 10
1 25 0
1 25 30
2 25 10
2 25 0
3 25 10
3 25 0
3 25 40
3 25 0
Any help will be definitely appreciated!
Bill
i need to write a query that will find the mins and maximums for each customer. Unfortunately, sometimes the quantity is 0. I need to eliminate the o's and find the minimum ordered.
My table looks like:
Cust_No Part Quantity
1 25 10
1 25 0
1 25 30
2 25 10
2 25 0
3 25 10
3 25 0
3 25 40
3 25 0
Any help will be definitely appreciated!
Bill