1 write a query to display using the employees table the

Assignment Help PL-SQL Programming
Reference no: EM13354162

1. 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.

2. Write a query using the departments table that displays the department number, department name, manager id and location id where the manager id or location id is not null.

3. Write a  query to display the last name, first_name, hire date and end date of employees using the employees table and the job_history table.

4. Write a query to display the average max_salary of all employees in the jobs table.  Label the column “Average Max Salary”.  Truncate your results to the nearest whole number.

5. Write a query using the JOBS table to determine the what the MAX_SALARY would be if the employees were given a 5% raise. Label the column New Max Salary. Display four columns from the employees table including the salary and the New Max Salary column.

6. Using the employees table  write a query to display the employee numbers, department id, and hire date, which is the first Thursday three months from the hire date. Format the dates to appear in the format similar to "Thursday the Fifteenth of July, 2001"

 

7. Write a query to modify the previous query and display the HIRE_DATE's that are not between 1995 and 1996.

8. Write a query using the EMPLOYEES table that produces the following output concatenated. “Mr.” <first_name> “,” <last_name> “can be contacted at the following phone number   ”  <phone> “ or at his email address of   “ <email>.   Provide a column alias for each column.

9. Write a query using the employees table to display the last name, first name  and hire date for three specific employees without using the ‘or’ operator.

10. For each Employee in the employees table  write a query to display the employee_id, job_id, department_id and calculate the number of months between the hire_date and todayï's date. Label the column MONTHS FROM HIRING. Round the number of months up to the closest whole number.

11. Create a query using the Jobs table to display the JOB_ID, JOB_TITLE and MIN_SALARY with a MIN_SALARY greater than $4000.00.

12. Write a query using the regions table to display the REGION_ID REGION_NAME for the regions whose name contains the string East.

13. Create a query  using the Employees and Jobs tables to display the JOB_ID, JOB_TITLE and MIN_SALARY for one specific employee.

14. Write a query to display your name and the current date on a single line of output

15. Write a query using the employees table to display the LAST_NAME, JOB_ID, and HIRE_DATE for employees whose last name begins with a G.

Reference no: EM13354162

Questions Cloud

With the help of appropriate diagrams explain the following : with the help of appropriate diagrams explain the following statement whether it is true false or uncertain an increase
Q 1 suppose at columbia university grade point average gpa : q. 1. suppose at columbia university grade point average gpa and sat scores are related by the conditional expectation
Q1 suppose we use two inputs lets say capital and labor and : q1. suppose we use two inputs lets say capital and labor and the price of capital is pk and the price of labor is pl.
Qassume that the equation for demand for bread at a small : q.assume that the equation for demand for bread at a small bakery is qd 60 - 10pb 3y where qd is the quantity of
1 write a query to display using the employees table the : 1. write a query to display using the employees table the employeeid firstname lastname and hiredate of every employee
Question 1-nbspdescribe which elements make up performance : question 1-nbspdescribe which elements make up performance reporting. why are these elements necessary?nbspquestion 2
Qthe equation of capital accumulation is k k i - deltak : q.the equation of capital accumulation is k k i - deltak where k is the capital stock at the beginning of the year i
Q1 a in recent years abc company has requested the services : q1. a. in recent years abc company has requested the services listed below from blazo economic an economic
Qanthony figueroa is a cpa who works for an accounting : q.anthony figueroa is a cpa who works for an accounting consulting firm. his annual salary income is 70000. anthony is

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Sql statement which select names and owners of great danes

Write SQL statement which would select each of the following: names and owners of all Great Danes and all attributes of poodles whose balance is no greater than $50.

  Write a script that uses two variables

Write a script that uses two variables to store (1) the count of all of the products in the Products table and (2) the average list price for those products. If the product count is greater than or equal to

  Display the customerid from the orders table

Display the CustomerID from the Orders table and the sum of the associated ItemPrice multiplied by Quantity using Gross Sales (with a space) as the column name from the OrderItems table.

  You have been asked to design a data model

Law Associates is a large legal practice based in Sydney. You have been asked to design a data model for the practice based upon the following specification

  Add three rows to the downloads

Add three rows to the Downloads table: one row for user 1 and product 2; one for user 2 and product 1; and one for user 2 and product 2. Use the GETDATE function to insert the current date and time into the DownloadDate column.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Pretend that you are on the boards

Pretend that you are on the boards of the American National Standards Institute (ANSI) and the International Organization for Standards (ISO), two of the organizations who standardized SQL

  Describe concepts of database-orientated programming

describe concepts of database-orientated programming language plsql as well as of data analysis techniques for

  Explain entity integrity and referential integrity rules

Explain entity integrity and referential integrity rules in relational model.show how these aer realized in sql

  Write the queries in sql

Write your queries so that the final answers will never include duplicates, but add the keyword DISTINCT only in cases where duplicates would otherwise be produced.

  Determine the commissions paid to specific employees of sale

Design a query that will allow the finance department to determine the commissions paid to specific employees of the sales department for the month of December.

  Write a perl subroutine for temperature conversion

Write a perl subroutine for temperature conversion named 'convert_temp'. It should be able to handle both Fahrenheit to Celsius conversions as well as Celsius to Fahrenheit conversions.

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