Computers and Technology, 22.04.2020 03:58, dolphin146
MSSQL
Create sp_Q2 as a stored procedure, which takes no input but it performs the tasks
in the order listed below:
(1) sp_Q2 first finds the country of suppliers who supply products with the top 2
highest unit price. It does not matter if these two products belong to the same
supplier or not. Also, it does not matter if the supplier of these two products
are in the same country or not.
(2) sp_Q2 does not return the countries, instead, it calls sp_Q1 (completed
in Q1) using the countries it finds.
Like in Q1, you should include 'go' to indicate the end of script that creates the
procedure and include a testing script to test sp_Q2.
The hint below is just a hint. You don't have to use it if you have a better approach.
Hint: save the countries in a table of any type (e. g., table variable, temporary table,
or using 'select...into') and retrieve one country a time into a variable.
Answers: 2
Computers and Technology, 24.06.2019 12:00, yagalneedshelp8338
Match the function to its purpose. fast worth 50pts.
Answers: 1
Computers and Technology, 24.06.2019 16:50, Laylahlettiere
Develop the program incrementally: a) start by reading and displaying each line of the input file to make sure you are reading the data set correctly. b) use the split string method to extract information from each line into a list. print the list to prove that this step is working correctly. d) convert the exam scores to type int and calculate the student’s average. display those items to prove this step is working correctly. e) create a tuple containing the six items for each student (name, exam scores, exam mean). display the tuples to prove this step is working correctly. (optionally, you may want to have the exam scores in a list so your tuple is (name, scores_list, f) append each tuple to a list. display the list to prove this step is working correctly. g) use the sort list method to re-order the tuples in the list. display the list to prove this step is working correctly. h) use a for statement to display the contents of the list as a table (with appropriate formatting). i) use a for statement to calculate the average of all scores on exam #1, then display the results. note that you could have calculated this average within the first loop, but we are explicitly requiring you to do this calculation by looping though your list of tuples. j) add the logic to calculate the average of all scores on exam #2, then display the results.
Answers: 2
MSSQL
Create sp_Q2 as a stored procedure, which takes no input but it performs the tasks...
Create sp_Q2 as a stored procedure, which takes no input but it performs the tasks...
History, 16.09.2020 08:01
Mathematics, 16.09.2020 09:01
Mathematics, 16.09.2020 09:01
Mathematics, 16.09.2020 09:01
Mathematics, 16.09.2020 09:01
Mathematics, 16.09.2020 09:01
Mathematics, 16.09.2020 09:01
Mathematics, 16.09.2020 09:01
Mathematics, 16.09.2020 09:01
Mathematics, 16.09.2020 09:01