I have a table like:
orderid, custname, zipcode, orderdate.
I want to count to do like this:
select orderdate, count(distinct custname,zipcode)
from a_able
group by orderdate.
Bu this does not work.
I am trying to get for an order how many distinct custname were their in in zip code...