Multiple Choice
James has created a new MySQL table called FAVORITES and would like to populate it with data from the existing CANDY table. Which command can he use to add data for rows with a rating of seven or more?
A) SELECT ID, NAME, PRICE, RATING FROM CANDY WHERE (RATING > 7) ) ;
B) INSERT INTO FAVORITES (SELECT ID, NAME, PRICE, RATING FROM CANDY WHERE (RATING > 7) ) ;
C) SELECT ID, NAME, PRICE, RATING FROM CANDY WHERE (RATING > 7) ) INSERT INTO FAVORITES;
D) INSERT INTO FAVORITES (FROM CANDY IF RATING > 7) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q5: Patty begins entering an order into her
Q6: Describe the format of the command used
Q7: Which command is used to display the
Q8: A logical unit of work, often conceptualized
Q9: To add data from an existing table
Q11: A MySQL command to change a value
Q12: How do you change a value in
Q13: Using SQL, you can increase the length
Q14: You can use the existing value in
Q15: What command is used to delete rows