subject

Write a query to display the buyer number, material id, material name, purchase date, current purchase total, total of all purchases by that buyer, and the percentage of the total of all purchases by that buyer that is represented by the current purchase. The current purchase is the purchase quantity multiplied by the purchase price for that purchase. The total of all purchases is the sum of adding up all purchases (quantity multiplied by price) made by that buyer. The percentage of the total of all purchases by that buyer that is represented by the current purchase is calculated at the current purchase divided by the total of all purchases by that buyer multiplied by 100. Sort the result by the total of all purchases for each buyer in descending order, then by the buyer number in ascending order, then by the current purchase in descending order. For example, the first row of output shows that buyer 480 purchased material 289, which is Scrap Iron, on April 22, 2019. The total cost of that purchase was $472,350. All purchases in the history of buyer 480 is $1,689,466. The current p

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 24.06.2019 02:20
Peter is thinking of a number which isless than 50. the number has 9 factors.when he adds 4 to the number, itbecomes a multiple of 5. what is thenumber he is thinking of ?
Answers: 1
question
Computers and Technology, 25.06.2019 01:00
Why was it important for the date format to be standardized by the international organization for standardization
Answers: 1
question
Computers and Technology, 25.06.2019 04:30
What is the purpose of network permissions? a)to control access to network resources b)to convert to wireless networking c)to enable the installation of nics d)to reduce operating costs
Answers: 1
You know the right answer?
Write a query to display the buyer number, material id, material name, purchase date, current purcha...
Questions
question
Mathematics, 22.05.2020 01:03
question
Mathematics, 22.05.2020 01:03
question
Mathematics, 22.05.2020 01:03
question
Geography, 22.05.2020 01:03