Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2 Write a stored procedure to finish the following function: according to the inputted department number, output the average salary of all employees of

image text in transcribed
Problem 2 Write a stored procedure to finish the following function: according to the inputted department number, output the average salary of all employees of this t. Problem3 Write a stored procedure to change the salary by the input employee number: if the employee's salary is greater than 100, increase 100 on the basis of the original value; if the salary is equal to O or null then it is set to 200. Problem 4 Write a stored procedure to change the salary by the input employee number: if the employee's salary is greater than 100, increase 100 on the basis of the original value; if the salary is equal to 0 or null then it is set to 200.(need to use cursor in E5)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students also viewed these Databases questions