Oracle
1Z0-071 · Question #220
View the Exhibit and examine the description for the PRODUCTS and SALES table. PROD_ID is a primary key in the PRODUCTS table and foreign key in the SALES table. You want to remove all the rows from…
The correct answer is C. DELETE FROM products. See the full explanation below for the reasoning.
Question
View the Exhibit and examine the description for the PRODUCTS and SALES table. PROD_ID is a primary key in the PRODUCTS table and foreign key in the SALES table. You want to remove all the rows from the PRODUCTS table for which no sale was done for the last three years. Which is the valid DELETE statement?
Exhibit
Options
- ADELETE FROM products
- BDELETE FROM products
- CDELETE FROM products
- DDELETE FROM products
How the community answered
(56 responses)- A4% (2)
- B14% (8)
- C75% (42)
- D7% (4)
Community Discussion
No community discussion yet for this question.
