I am trying to get a SQL query to count unique customer for a given month, count only if the Customer was not part of any previous months.
date| Customer_name
---------------------------------
2016/01/01 John
2016/01/01 Jane
2016/02/01 Joe
2016/02/01 Jill
2016/02/01 John
2016/03/01 Jane
2016/03/01 Jill
2016/03/01 Jay
2016/04/01 Jude
And I want to count the customer only if the Customer was not part of any previous months.
DATE NEW_CUSTOMER_ADDS
-------------------------------------------------------
2016/01/01 2
2016/02/01 2
2016/03/01 1
2016/04/01 1