Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CREATE TABLE surveylist ( surveylist _ id SERIAL PRIMARY KEY, email VARCHAR NOT NULL, phone VARCHAR ) ; Given this new table, which INSERT statement
CREATE TABLE surveylist surveylistid SERIAL PRIMARY KEY, email VARCHAR NOT NULL, phone VARCHAR ; Given this new table, which INSERT statement would query from the customer table to insert the email and phone of all customers in the right columns? INSERT INTO surveylist email phone SELECT email, phone FROM customer; INSERT INTO surveylist email phone SELECT phone, email FROM customer; INSERT INTO surveylist surveylistid email, phone SELECT email, phone FROM customer; INSERT INTO surveylist SELECT email, phone FROM customer;
CREATE TABLE surveylist
surveylistid SERIAL PRIMARY KEY,
email VARCHAR NOT NULL,
phone VARCHAR
;
Given this new table, which INSERT statement would query from the customer table to insert the email and phone of all customers in the right columns?
INSERT INTO surveylist email phone
SELECT email, phone FROM customer;
INSERT INTO surveylist email phone
SELECT phone, email FROM customer;
INSERT INTO surveylist surveylistid email, phone
SELECT email, phone FROM customer;
INSERT INTO surveylist
SELECT email, phone FROM customer;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started