Question: Which of the following calculates a 10% commission on the values in the Sales field and then stores the results in the Commission field? a.

Which of the following calculates a 10% commission on the values in the Sales field and then stores the results in the Commission field?
a. SELECT Year, Sales, Commission = Sales * 0.1 FROM dbo.TrentSales
b. SELECT Year, Sales, AS Commission = Sales * 0.1 FROM dbo.TrentSales
c. SELECT Year, Sales, Sales * 0.1 = Commission FROM dbo.TrentSales
d. SELECT Year, Sales, Sales * 0.1 AS Commission FROM dbo.TrentSales

Step by Step Solution

3.38 Rating (173 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

d SELECT Yea... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Microsoft Visual Basic Questions!