exam questions

Exam DP-900 All Questions

View all questions & answers for the DP-900 exam

Exam DP-900 topic 1 question 62 discussion

Actual exam question from Microsoft's DP-900
Question #: 62
Topic #: 1
[All DP-900 Questions]

You have an inventory management database that contains the following table.

Which statement should you use in a SQL query to change the inventory quantity of Product1 to 270?

  • A. INSERT
  • B. MERGE
  • C. UPDATE
  • D. CREATE
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
vince60370
Highly Voted 3 years, 8 months ago
Update is the SIMPLEST way, but a MERGE can also do the update... I think the question should be a little bit more specific.
upvoted 32 times
DSilsbury
2 years, 3 months ago
Merge requires 2 datasets, it can't be merge
upvoted 7 times
...
...
Armandoo
Highly Voted 3 years, 4 months ago
The answer is UPDATE since we want to change something within a column.
upvoted 29 times
Lipseal
2 years, 5 months ago
I googled it: ALTER - add/delete/modify column UPDATE - update existing row INSERT - Insert new row
upvoted 12 times
...
...
AGTraining
Most Recent 7 months, 4 weeks ago
option C
upvoted 1 times
...
akhil5432
1 year, 2 months ago
'Update' is correct option
upvoted 1 times
...
evvanalytics
1 year, 7 months ago
UPDATE
upvoted 2 times
...
chiiiweiii
1 year, 7 months ago
Selected Answer: C
Correct Answer
upvoted 2 times
...
JA2018
2 years ago
Selected Answer: C
You need DML to update/ modify each row record in a DB table.
upvoted 2 times
...
Eltooth
2 years, 3 months ago
Selected Answer: C
C is correct answer : Update
upvoted 4 times
...
alveswlm
2 years, 4 months ago
Selected Answer: C
Update statement is used to change the value of a column.
upvoted 4 times
...
EXODUS33
2 years, 5 months ago
Selected Answer: C
update is used to change an existing record value
upvoted 4 times
...
olusesan
2 years, 5 months ago
Answer is C
upvoted 2 times
...
nhftloh
2 years, 6 months ago
Selected Answer: C
Answer is c
upvoted 3 times
...
D_Mo_ZY
2 years, 7 months ago
Update Was in the exam (18/03/2022)
upvoted 5 times
...
Yvekke
2 years, 9 months ago
update is ok
upvoted 2 times
...
jmay
2 years, 10 months ago
even when using MERGE, you still need to include an UPDATE sub query
upvoted 5 times
...
Afamdi
3 years, 1 month ago
Update obviously!
upvoted 4 times
...
MFO_FM
3 years, 1 month ago
Update
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