How do I query for distinct customers? Here's the table I have..
CustID DATE PRODUCT ======================= 1 Aug-31 Orange 1 Aug-31 Orange 3 Aug-31 Apple 1 Sept-24 Apple 4 Sept-25 Orange This is what I want.
# of New Customers DATE ======================================== 2 Aug-31 1 Sept-25 Thanks!
SELECT Date, COUNT(DISTINCT CustID) FROM YourTable GROUP BY Date?