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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 20:40, cmflores3245
Convert and simplify the following sentences to conjunctive normal form (cnf): (a) (p → (q → r)) → (p → (r → q)) (b) (p ∧ q) → (¬p ↔ q) (c) ((p → q) ∧ ¬q) → ¬p
Answers: 3
image
Computers and Technology, 22.06.2019 04:30, zetrenne73
How can you know if the person or organization providing the information has the credentials and knowledge to speak on this topic? one clue is the type of web site it is--the domain name ".org" tells you that this site is run by a nonprofit organization.
Answers: 2
image
Computers and Technology, 23.06.2019 02:50, bfell92
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
image
Computers and Technology, 23.06.2019 23:30, jamalchris9353
Worth 50 points answer them bc i am not sure if i am wrong
Answers: 1
You know the right answer?
/*Using AdventureWorks2008R2, write a query to retrieve the customers and their order info. Return t...

Questions in other subjects:

Konu
Mathematics, 21.08.2019 16:50