subject

/*Using AdventureWorks2008R2, write a query to retrieve the customers and their order info. Return the customer id, a customer's total order count, the highest total product quantity contained in an order for all orders of a customer, and a customer's top 3 order For the highest total product quantity contained in an order for all orders of a customer, an example is:Smith has 4 orders. Simon's order #1 has a total sold quantity of 25Simon's order #2 has a total sold quantity of 30Simon's order #3 has a total sold quantity of 28Simon's order #4 has a total sold quantity of 40Then the highest total product quantity contained in an order for all orders of Simon is 40.Keep in mind, it's the total sold product quantity of an order. For example, an order has two products:Product 1 has a quantity of 7Product 2 has a quantity of 12Then the total sold quantity of this order is 19.The top 3 orders have the 3 highest order values. Use TotalDue as the order value. If there is a tie, the tie must be retrieved. The returned data should have the format displayed below. Exclude customers who have had any order with a TotalDuevalue less than $80000.Sort the returned data by CustomerID.*//*29594424249888, 46666, 4771829624410644518, 43875, 4605629641448351131, 55282, 6730529861411543884, 44530, 4606729923425157150, 69531, 6328429995434651761, 69454, 57012*

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:40
Write c function that can replace all the positive elements to 0 and negative to 1 in undefined length one-dimensional array. test your program in the main program by defining one-dimensional array of 6 elements
Answers: 1
question
Computers and Technology, 22.06.2019 06:30
This technology is used to produce high-quality documents that look good on the computer screen and in print.
Answers: 1
question
Computers and Technology, 22.06.2019 10:00
You need a reliable network for about twenty-five computers that will be distributed across a large building. it is important that the network be relatively cheap. which topology should you use?
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
How do you take a green screen out of the video while editing?
Answers: 2
You know the right answer?
/*Using AdventureWorks2008R2, write a query to retrieve the customers and their order info. Return t...
Questions
question
English, 09.10.2019 06:00
Questions on the website: 13722360