Write a query to display the information about the employees

Assignment Help PL-SQL Programming
Reference no: EM132420940

227_table.jpg

Task 1: Create three tables with relevant keys as suggested in the above diagram

Task 2: Insert record of 10 employees in the employee table

Task 3: Insert record of 5 departments in the department table

Task 4: Insert record of 5 salary levels in the salary table

Task 5: Write a query to display the information about the employees in the employee table

Task 6: Write a query to display the name of all the employees

Task 7: Write a query to display the name of all the employees and their jobname.

Task 8: Write a query in SQL to display the unique jobname for all the employees

Task 9: Write a query to increase the salary for all the employees by 12%. Display the empname, jobname and salary after the increment

Task 10: Write a query to display the employee names with minimum and maximum salary.

Task 11: Write a query to display the employee id, employee name, jobname of all the employees whose salary is greater than 90,000 P.A.

Task 12: write a query to display the all the details of all the employees whose jobname is Manager. (Hint: While entering the records for employee, make sure to add manager as jobname for a few employees.)

Task 13: Write a query to display the all the details of the employee whose name is Robert. (Hint: While entering the records for employee, make sure to add Robert as empname for at least one employee.)

Task 14: Write a query to display all the details of the employee who work as a manager and have salary greater than 95000 P.A.

Task 15: Write a query to display employeeid, employee name, jobname and date of joining of all the employees who joined after year 2001.

Task 16: Write a query to display the list of all the employees whose annual salary is within the range 55000 and 95000.( Hint: make sure to add the salary in this range while entering records in the employee table)

Task 17: Write a query to display the list of all the employees in the descending order of their salaries.

Task 18: Write a query to count the number of employees in the employee table.

Task 19: Insert a new record in the employee table and add ANALYST as their jobname. The other fields can be added as per your choice

Task 20: Insert a new record in the employee table with the following data fields

employee_id= 1011
empname= Janet
jobname= PROGRAMMER
managerid= 5095
dateofhire= 12-10-2014
salary= 90000
department_id=2011

Task 21: Write a query to delete the record of the employee whose name is 'Flynn'. (Hint: Make sure to add a record with employee name 'Flynn' in the beginning.

Task 22: Write a query to update the salary by 15% of the employee whose employee name is ROBERT.

Task 23: Write a query to find the number of staff working in each department and the sum of their salaries.

Task 24: Write a query to find all employees with the string 'Avenue' in their address

Reference no: EM132420940

Questions Cloud

Current and future issues in it project management : Demonstrate theoretical and practical implementation of leadership, team building, and performance management approaches for IT projects
Transactions on the books of vogel corporation : Prepare the journal entries to record these transactions on the books of Vogel Corporation.
Global or lnternational marketing assignment : Global or lnternational Marketing Assignment help and solutions:-Main theme of the article - the author's major point.implications of the article important
What are market research reports : What are market research reports?
Write a query to display the information about the employees : Create three tables with relevant keys as suggested in the above diagram and Write a query to display the information about the employees in the employee table
What is the benefit of accelerated depreciation : What is the benefit of accelerated depreciation for income tax purposes when the total depreciation taken over the asset's life is identical under any method
New major sporting event assignment : NEW Major Sporting Event Assignment help and solutions:-How will the XFL "break through the clutter" to attract fans both nationally and globally?
What do you think about the concept of training of customer : "in order to deliver superior service, you need to make your customers behave", please express your thought about the statement.
Hyaundai elantra assignment : Hyaundai Elantra Assignment help and solutions:-why you choose the product or service.Finally outline the self oriented values that may weigh into consumers.

Reviews

len2420940

12/20/2019 11:27:20 PM

This is all sql coding and has 24 programs. The all coding should b written as ms word document and database design in excel format. All coding should be run in the sql as well

Write a Review

PL-SQL Programming Questions & Answers

  Who are the opposition leaders

Write SQL SELECT statements to retrieve the following information from the prime_minister database.

  Write a iterative function that returns the summation

Write and test functions that return summation of all the numbers (items) in the list. Write a recursive function that returns the summation of all the numbers in the list.

  Strengths and weaknesses of three dbms software

Research Report around 800 words strengths and weaknesses of three DBMS software packages for utilization as a company-wide customer information database. Please compare Microsoft Access, Microsoft SQL Server, and Oracle.

  Business transaction that involves multiple tables

Write a business transaction that involves multiple tables and implement it using PL/SQL. Use at least one Function or Procedure in your code. The transaction may retrieve data from the database and display the result, or it may insert/update data in..

  Write a sql join query using two or more basetables

Write a SQL query using a built-infunction. Write a SQL query using the GROUP BYclause. Write a SQL join query using two or more basetables.

  Calculate annual raises for all employees

Calculate annual raises for all employees except the president - Handling Exceptions with User-Defined Errors - Modify the anonymous block so that it displays the number of rows updated onscreen. Run the block.

  Pros and cons of governmental regulation of cryptography

Dissect the PCAP and Design an Appropriate Defense - Why is it important to know how to read Snort alerts and Wireshark traffic

  Create a plan of the necessary activities

Create a plan of the necessary activities that would be required to implement a valid database design process by including the steps.

  Create a risk information sheet for five potential risks

Using the sample shown below, create a Risk Information Sheet for at least five potential risks that might be encountered during the conversion. At least three of the five risks you choose should be project management related.

  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?

  Stored procedure named spinsertcategory

Write a script that creates and calls a stored procedure named spInsertCategory. First, code a statement that creates a procedure that adds a new row to the Categories table. To do that

  Shows the shipping and billing addresses

Create a view named CustomerAddresses that shows the shipping and billing addresses for each customer in the MyGuitarShop database.

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