Write a PL/SQL program Person Table PNumber PName Address DOB BasicSalary DeptID 901 Abdullah Bisha 10-Feb-1998...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a PL/SQL program Person Table PNumber PName Address DOB BasicSalary DeptID 901 Abdullah Bisha 10-Feb-1998 10000 101 902 Dafer Abha 01-Oct-1999 5000 102 903 Saad Alaya 10-Dec-1994 8000 101 904 Saeed Riyadh 10-Dec-1990 4000 103 DeptID Dname 001 Management 002 Production 003 Supply Department Table 1. Calculate the net salary if DA is 15% of basic,HRA is 10% of basic and PF 10% if basic salary is less than 6000 „pf is 10% if basic salary between 8000 to 160000. 2. Write a procedure that display department id for a particular person. 3. Write a procedure to display the total number of person of a department 101. 4. Write a function that returns the total number of employee of a particular department. Accept department ID as input parameter. 5. Write a function to find the maximum Salary. Write a PL/SQL program Person Table PNumber PName Address DOB BasicSalary DeptID 901 Abdullah Bisha 10-Feb-1998 10000 101 902 Dafer Abha 01-Oct-1999 5000 102 903 Saad Alaya 10-Dec-1994 8000 101 904 Saeed Riyadh 10-Dec-1990 4000 103 DeptID Dname 001 Management 002 Production 003 Supply Department Table 1. Calculate the net salary if DA is 15% of basic,HRA is 10% of basic and PF 10% if basic salary is less than 6000 „pf is 10% if basic salary between 8000 to 160000. 2. Write a procedure that display department id for a particular person. 3. Write a procedure to display the total number of person of a department 101. 4. Write a function that returns the total number of employee of a particular department. Accept department ID as input parameter. 5. Write a function to find the maximum Salary.
Expert Answer:
Posted Date:
Students also viewed these accounting questions
-
We saw in lecture methods to store integers (both negative and non-negative) and real numbers as sequences of Os and 1s. Integers can be stored exactly (using binary numbers and/or 2's complement),...
-
Consider the following data set: -0.02 -0.05 -0.03 0.01 0.13 25th 50th percentile 75th percentile 0.12 0.12 Click here for the Excel Data File a-1. Calculate the 25th, 50th, and 75th percentiles....
-
Between 1994 and 1999 Amazon lost more than $500 million, but at the end of this period its valuation was still more than $20 billion. At the start of 2000 Amazon.com underwent its first round of job...
-
verify that u= c ext cosx is a dimensional heat cqn. for. a soln. of suitable value of c. one
-
Should all or any negotiated agreements be subject to public ratification votes by citizens of the jurisdiction and/or by the state of the jurisdiction? If yes, and the tentative agreement is...
-
Describe how job rotation can be used to combat the problems caused by job specialization.
-
A neutron star is an object with a mass of about \(1.4 M_{\odot}\), where the solar mass \(M_{\odot}=2 \times 10^{30}\) \(\mathrm{kg}\). The neutron star is aggregated to have density equal to that...
-
a. Wilson filed his individual tax return on the original due date, but failed to pay $700 in taxes that were due with the return. If Wilson pays the taxes exactly 2 months late, calculate the amount...
-
* Installing integrated software needs more memory than installing many .standalone applications True O False
-
The proposed rates were not in the range the CEO expected given the pricing analysis. The CEO has asked the pricing actuary to verify the total projected loss cost excluding potential large storm...
-
4. A rectangular coil (0.20745 m by 0.80963 m) has 200 turns and is in a uniform, 0.30562 T, magnetic field. When the orientation of the coil is varied through all possible positions, the maximum...
-
Take a look at the following company information: Sales (000s) Direct Materials (000s) Direct Labour (000s) Gross Profit (000s) Selling and Admin Expense (000s) Net profit $ 1348 $ 688 $ 209 $ 451...
-
In scrum, the list of stories, features, and requirements is called the _ _ _ _ _ _ _ _ _ _ . _ _ _ _ _ _ _ _ _ _ . Question 3 3 options: sprint plan product backlog work list
-
Irresistible Lemonade Company processes fresh lemonade. The company has the following expenses for July: Depreciation expense on bottling machines Glass juice bottles Commissions for salespeople...
-
Question 1 Not yet answered Marked out of 5.00 P Flag question Write a program in assembly that reads a group of unsigned 8-bit numbers stored in Program ROM starting from location 123F2H and store...
-
Write a select statement that will display the tallest player s nameFirst, nameLast and height in feet ( ( HeightInFeet ) . ) . Here is a hint, add the statement TOP 1 1 directly after your SELECT...
-
It is a trend that younger workers change jobs more often now. Should organizations try to retain these workers? Are there any advantages for organizations opened up by this trend?
-
Rowland Textile Inc. manufactures two products: sweatshirts and T-shirts. The manufacturing process involves two activities: cutting and sewing. Expected overhead costs and cost drivers are as...
-
As the Internet continues to grow in its business influence, it is increasingly being used for applications that were formerly client/server based applications. What are some of the similarities in...
-
Fill in the blanks for the following statements: a. Source documents should be portioned into different zones for data, data, and depending upon the system inputs and reviewing form, for data that...
-
Why does the free-rider problem occur in the debt market?
Study smarter with the SolutionInn App