exam questions

Exam 70-761 All Questions

View all questions & answers for the 70-761 exam

Exam 70-761 topic 1 question 125 discussion

Actual exam question from Microsoft's 70-761
Question #: 125
Topic #: 1
[All 70-761 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section. You will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have a table named Products that stores information about products your company sells. The table has a column named ListPrice that stores retail pricing information for products.
Some products are used only internally by the company. Records for these products are maintained in the Products table for inventory purposes. The price for each of these products is $0.00. Customers are not permitted to order these products.
You need to increase the list price for products that cost less than $100 by 10 percent. You must only increase pricing for products that customers are permitted to order.
Solution: You run the following Transact-SQL statement:

Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Mathematical equation will only return 10 % of the value.

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
Vermonster
4 years, 5 months ago
Answer is definitely A. .1 * 0 is still 0 so it won't affect internal products. It isn't elegant but works
upvoted 1 times
Vermonster
4 years, 5 months ago
How do I delete a comment - just saw that it isn't 1.1 - man, gotta pay attention!!
upvoted 1 times
...
...
chaoxes
4 years, 11 months ago
Answer is B.No. It will return 10% of value. It wont't impact 0 tho. If the query would use 1.1 instead of 0.1 than it would be correct.
upvoted 3 times
...
FranckSYLLA
5 years, 3 months ago
Non, la réponse est A, car les prix à 0 ne seront pas impactés: 0*0.01=0
upvoted 1 times
...
supermario
5 years, 3 months ago
How does this even test anything in SQL. Why are we tested in mathematics. I see so many queries in list price increase. None is really correct. or the question is ambiguous.
upvoted 2 times
...
70_761
5 years, 4 months ago
0 price products are not permitted, So their price will not get updated when we multiply. So we have to multiply by 1.1
upvoted 2 times
...
anonimdom
5 years, 4 months ago
But 0*.1=0, so the price of the 0$ products will not be increased (which may meet the requirements).
upvoted 4 times
...
flashed
5 years, 4 months ago
I can't see none filter for "You must only increase pricing for products that customers are permitted to order."
upvoted 2 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 ...