Write pl-sql block to display the last name of people

Assignment Help PL-SQL Programming
Reference no: EM1364773

Part 1. Write a PL/SQL block that displays the last name and salary of the following people. Each of these can be done separately as PL/SQL, first to test and get the output lines then encapsulated in the procedure and then called, or all in one piece of code like #2 if student is comfortable with writing it all as one program. In this second option student would submit three print screens and in the first option six print screens:

The highest paid employee
The lowest paid employee
The average salary of all employees

Part 2. Embed a stored procedure and call it (must be done from SQL Command Line), providing printscreens demonstrating that the PL/SQL blocks return the correct responses upon being executing the stored procedure.

Reference no: EM1364773

Questions Cloud

Operating leverage-roi-eva : Use information from the latest financial statement to compute operating leverage, ROI, EVA and another performance measure of Textron,
Introduction to project plan : Discuss what each of those plans should contain. Also, discuss the challenges the project manager faces in achieving each of those plans.
At what angle should the road be banked : At what angle should the road be banked. The charge on the inner shell is 4.59 x 10- 8 C and that on the outer shell is 2.15 x 10- 8 C. Find out the electric field (in N/C) (a) at r = 12.7 cm and (b) at r = 37.3 cm.
Comparison of formal research and business proposals : What are some differences? What are the capabilities of one in contrast with the capabilities of the other?
Write pl-sql block to display the last name of people : Write a PL/SQL block that displays the last name and salary of the following people. Each of these can be done separately as PL/SQL, first to test and get the output lines then encapsulated in the procedure.
Discusses debits and credits : Define the terms debit and credit. Explain how debits and credits affect the following: assets, liabilities, owner's capital account, revenues and expenses.
Calculate required down payment : The Smiths are purchasing a home that sells for $175,000. The lending institution is requiring a minimum down payment of 20%. To obtain a 20 year mortgage at 8 percent,
Calculating federal tax due : Sheniqua, a single taxpayer, had taxable income of $73,239. Her employer withheld $14,077 in federal income tax from her paychecks throughout the year. Using the tax tables
Limitations of inventory control models such as eoq : What do you think can be the limitations of inventory control models such as EOQ, continuous-review, and periodic-review models?

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create report using wizard or based on sql query

Create a report using the wizard or based on an SQL query that that shows Courses that instructors are approved to teach. Show Course Number, First Name, and Last Name of Instructor.

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Write queries in sql if employee works on every project

Write the following queries in SQL: If an employee works on every project located in Houston, then list the employees social security number and name.

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Create program to enter first and second number

Create a program that enters first and a second number. The first and second number that will be entered should be computed in halves, quarter, double, and square.

  Write sql statement to create view

Write a SQL Statement to create a View called vwEmployeeTerritories that will do the following: Return all Employees and their Territories (use INNER JOIN).

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  Write sql statement to display first-last name of students

Write a SQL statement to display the First and Last name of students who have the Status greater than 1 and less than 10. Use BETWEEN.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd