I want to get an email list from a table for specific dates.
Select email FROM clients
WHERE MONTH(created)=08
GROUP BY email
I would like to eliminate the email if it already existed before in the table. so if he was created before the month 08. (an email can be created multiple times because I work for a login site). Can anybody help me out.
Thank you
You could first build a list of unique emails with their earliest
createddates, then select from that list picking only those that were created in the month you want: