Hi guys - I have two tables here: One holds a list of subscriber emails:
(ID, email)
and the other holds a list of domains:
(ID, domain)
I want to figure out a sql statement that allows me to select *
the email addresses which belong to the domains listed in the domain table assuming that all emails are of the form:
name@domain
Can this be done in sql or do I need to write a script for this?