I have two tables:
USER
MAILING
MAILING
table has one column email
.
USER
table has many users
with email
.
Now I want to delete something like this:
DELETE email FROM mailing WHERE users.email = mailings.email
So i need to delete email from table mailing if this email exist in user table.