exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 207 discussion

Actual exam question from Oracle's 1z0-071
Question #: 207
Topic #: 1
[All 1z0-071 Questions]

The ORDERS table has a primary key constraint on the ORDER_ID column.

The ORDER_ITEMS table has a foreign key constraint on the ORDER_ID column, referencing the primary key of the ORDERS table.

The constraint is defined with ON DELETE CASCADE.

There are rows in the ORDERS table with an ORDER_TOTAL of less than 1000.

Which three DELETE statements execute successfully? (Choose three.)

  • A. DELETE order_id FROM orders WHERE order_total < 1000;
  • B. DELETE orders WHERE order_total < 1000
  • C. DELETE * FROM orders WHERE order_total < 1000;
  • D. DELETE FROM orders;
  • E. DELETE FROM orders WHERE order_total < 1000;
Show Suggested Answer Hide Answer
Suggested Answer: BDE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
HUGO2024
4 months, 4 weeks ago
Selected Answer: BDE
BDE is correct
upvoted 1 times
...
yaya32
1 year ago
Selected Answer: BDE
BDE correct
upvoted 1 times
...
Mcromeo
1 year, 1 month ago
Selected Answer: BDE
BDE is correct
upvoted 1 times
...
lucemqy
1 year, 2 months ago
Selected Answer: BDE
BDE is correct
upvoted 1 times
...
x33
1 year, 3 months ago
why is option D right? It delete every rows from the table. It does not consider the condition "order_total < 1000."
upvoted 1 times
mrcsp
11 months, 3 weeks ago
The question asks which ones: "execute successfully" it executes and successfully, there is nothing saying the condition except in other alternativas.
upvoted 2 times
...
...
WingL
1 year, 6 months ago
Selected Answer: BDE
DELETE FROM TABLE_NAME. 'FROM' IS A OPTION WORD.
upvoted 1 times
...
Cecilia_Soso
1 year, 8 months ago
Selected Answer: BDE
a column can be dropped or it can be updated not deleted
upvoted 1 times
...
kaplanek
1 year, 9 months ago
Selected Answer: BDE
BDE is correct
upvoted 1 times
...
jfc1
1 year, 11 months ago
Selected Answer: BDE
BDE is the correct answer
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago