Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW 1D0-541 Exam - Topic 5 Question 122 Discussion

Actual exam question for CIW's 1D0-541 exam
Question #: 122
Topic #: 5
[All 1D0-541 Questions]

Consider the Recreation relation in the exhibit. A data operation that changes one of the tuples

for Student_ID 1003 must be performed. It is necessary to change one of the activities from

swimming to tennis. The Student_ID and Activity attributes make up the primary key for the

Recreation relation. All related information must be altered, as well. Which SQL statement or

statements would best accomplish this?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Leeann
2 days ago
I think B is better since it checks for the current activity.
upvoted 0 times
...
Ria
8 days ago
Option C looks correct to me.
upvoted 0 times
...
Casie
13 days ago
I feel like option B is close, but it has the wrong syntax with "UPDATE TABLE." I think option C is definitely the best choice here.
upvoted 0 times
...
Marylou
18 days ago
I’m a bit confused about the DELETE and INSERT approach in option D. It seems like overkill for just changing an activity.
upvoted 0 times
...
Barney
23 days ago
I remember practicing a similar question where we had to update multiple fields. I think option C looks correct since it specifies both the new activity and the fee.
upvoted 0 times
...
Evan
28 days ago
I think we need to use the UPDATE statement, but I'm not sure if we should include the condition for the current activity.
upvoted 0 times
...

Save Cancel