exam questions

Exam 98-364 All Questions

View all questions & answers for the 98-364 exam

Exam 98-364 topic 1 question 28 discussion

Actual exam question from Microsoft's 98-364
Question #: 28
Topic #: 1
[All 98-364 Questions]

A database contains two tables named Customer and Order.
You execute the following statement:

DELETE FROM Order -

WHERE CustomerID = 209 -
What is the result?

  • A. The first order for CustomerID 209 is deleted from the Order table.
  • B. All orders for CustomerID 209 are deleted from the Order table, and CustomerID 209 is deleted from the Customer table.
  • C. All orders for CustomerID 209 are deleted from the Order table.
  • D. CustomerID 209 is deleted from the Customer table.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
ALSALAH
3 years, 4 months ago
This statement deletes only the the table in the expression, ie., the order table. In this select statement the delete command doesn't cascade to the other table 'customer'
upvoted 1 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 ...