Question: Given this new table, which INSERT statement would query from the customer table to insert the email address of all customers that live in the

Given this new table, which INSERT statement would query from the customer table to insert the email address of all customers that live in the country USA?
a.)
INSERT INTO mailinglist (email)
SELECT email FROM customer
WHERE country = 'USA';
b.)
INSERT INTO mailinglist
SELECT email FROM customer
WHERE country = 'USA';
c.)
INSERT INTO mailinglist (user_id, email)
SELECT email FROM customer
WHERE country = USA;
d.)
INSERT INTO mailinglist (email)
SELECT email FROM customer;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!