MIS562 Week 7 in MySQL – Stored Procedures and triggers – Instant Delivery – Perfect Solution

Lab Price = $15
Please feel free to send us your queries at: [email protected]
Payment methods

Add to Cart

Buy Now

View Cart


Name: _______________________
Homework (100 points)
For Part 1 Q1, you don’t need to run SQL and no output is required.
For Part 1 Q2, be sure to include output
For part 2 running stored procedure, please refer to document under Announcement. You must include output for all three questions

Part 1

Question SQL statement or Answer
1. Analyze the following query and write a description of the output it produces. (20 points)
Do not run query.

SELECT COUNT(DECODE(SIGN(total_capacity-20), -1, 1, 0, 1)) “<=20", COUNT(DECODE(SIGN(total_capacity-21), 0, 1, -1, NULL, DECODE(SIGN(total_capacity-30), -1, 1)))"21-30", COUNT(DECODE(SIGN(total_capacity-30), 1, 1)) "31+" FROM (SELECT SUM(capacity) total_capacity, course_no FROM section GROUP BY course_no) You don’t need to execute SQL Query and you are not required to provide executed output 2. Determine the top three highest salary from department 10, 20 and 30 (20 points) Part 2 Write a stored procedure using the student schema: submit the output with your answer (20 points) Write a stored function using the student schema: submit the output with your answer (20 points) Write a trigger using the student schema: submit the output with your answer (20 points)

Relevant Material
Screenshots
Lab 7: Screenshot2
Lab 7: Screenshot2
Lab 7: Screenshot1
Lab 7: Screenshot1
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at [email protected].
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on [email protected]
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.
Payment Details
Lab Price = $15
Please feel free to send us your queries at: [email protected]

Payment methods

Add to Cart

Buy Now

View Cart

Leave a Reply