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 22:00
3. (6 pts) internally in the computer, with few exceptions, all numerical computation is done using binary numbers. output, however, often uses ascii, which is formed by appending 011 to the left of a bcd code. thus, an algorithm that directly converts a binary integer to a bcd integer is very useful. here is one such algorithm 1) draw lines to the left of the binary number to bound the expected bcd decades. (each decade is a group of 4 bits.) move the binary number one bit to the left. add 0011 to each bcd decade containing a binary value> 0100 repeat steps 2-3 until the last bit in the binary number has been moved into the least significant decade position. (note that when the last bit has been shifted into bcd decade, step 3 is not repeated.) read the bcd result. 2) 3) 4) 5) a) execute the algorithm for the binary number 1101101 b) execute the algorithm for the binary number 01110101110 4. (4 pts) represent the decimal number 3568 in bcd; excess-3 code; ascil; and hex.
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
When early motion pictures played in movie theaters, they were often accompanied by live organ or piano music. which of the following are the most likely reasons that this happened? (select all that apply). the music was provided to distract audience members from the loud sounds made when filmstrips were changed. the music accompanied the movies because the movies were silent and audiences were used to hearing music during plays in theaters. the music usually was played before, and sometimes after the movie, as an alternative form of entertainment. the music viewers to interpret the dramatic action in the films.
Answers: 2
question
Computers and Technology, 23.06.2019 20:00
Match the file formats with the types of multimedia they can store
Answers: 2
question
Computers and Technology, 23.06.2019 22:20
Read “suburban homes construction project” at the end of chapters 8 and 9 (in the textbook) and then develop a wbs (work breakdown structure) in microsoft excel or in microsoft word (using tables)
Answers: 1
You know the right answer?
/*Using AdventureWorks2008R2, write a query to retrieve the customers and their order info. Return t...
Questions
question
English, 07.06.2021 14:00
question
Mathematics, 07.06.2021 14:00
question
Mathematics, 07.06.2021 14:00
question
English, 07.06.2021 14:00
Questions on the website: 13722367