I have 2 tables, one with customers, containing their name, email, company, etc. I have another table that just contains the emails of the customers that need to be removed. I need to develop a query to delete all rows from the first table if they contain an email in the second. These tables are in a Microsoft SQL Server database.
As I am in the process of learning SQL I have no idea how to do this, I've searched through questions and can't find a similar enough one.