I have a table that is named ORDER and it has attributes
Number,CustName,SalespersonName,Amount.
I tried the following queery:
SELECT COUNT (DISTINCT CustName)
FROM ORDER;
Of course My Access 97 will not accept this.
How do you count the customer's names without counting the duplicates from the table?
My BOOK A GUIDE TO SQL, BY Philip J. Pratt, says this will work???
If you do not like my post feel free to point out your opinion or my errors.
Number,CustName,SalespersonName,Amount.
I tried the following queery:
SELECT COUNT (DISTINCT CustName)
FROM ORDER;
Of course My Access 97 will not accept this.
How do you count the customer's names without counting the duplicates from the table?
My BOOK A GUIDE TO SQL, BY Philip J. Pratt, says this will work???
If you do not like my post feel free to point out your opinion or my errors.