Create the following queries on the database

Assignment Help PL-SQL Programming
Reference no: EM13930141

Create the following queries on the attached ITD640_B database and save them all in a file called ITD640_P5.SQL . Remember to

define what database to use with a USE statement.

- Using a join, get the full details of all the employees who are working on the Harvest Ball promotion.

- Get the promotion names (duplicates eliminated) being worked on by employees from the Rocky Mountain Produce store.

- Get the last names of all the employees who are working on promotion P1.

- Get the employee numbers and start dates of all the employees with start dates equal to the earliest date.

- Insert yourself in the employee table using the last five digits of your phone number as the employee number and show

yourself as working for Rocky Mountain Produce. Then show all the records in the employee table.

- Delete yourself from the employee table by matching your employee number, and then show all of the records in the employee

table.

 


Attachment:- Database.zip

Reference no: EM13930141

Questions Cloud

In a hospital system launching new diabetes program : In a Hospital system launching new diabetes program, Compare successful industries and how they leverage transparency. Describe how you can apply that to your strategy.
Which types of securities only includes debt securities : Which of the following types of securities only includes debt securities? The factors that need to be determined to compute depreciation are an asset's
Describe two different population groups : Describe two different population groups that require special accommodations during a disaster? What accommodations would benefit the safety of these special needs populations? Answer needs to be 150 - 300 words.
A clear logical flow is an advantage : You are free to shape your assignment (i.e., how would you like to set up your headings and subheadings) it is all up to you. This is part of the marking - a clear logical flow is an advantage.
Create the following queries on the database : Create the following queries on the attached ITD640_B database and save them all in a file called ITD640_P5.SQL . Remember to define what database to use with a USE statement.
Projected capital expenditures for the next year : An analyst has collected the following information about Franklin Electric: Projected EBIT for the next year is $300 million. Projected depreciation expense for the next year is $50 million. Projected capital expenditures for the next year is $100 mi..
Use fabrics that are made domestically : As you work on the project plan for your project, Mike, one of the marketing strategists on your team, stops at your office door wanting to talk. "We use fabrics that are made domestically; however, there are issues with using these same fabrics glob..
Identify the physical and physiological factors : Identify the physical and physiological factors that may have contributed to Jennifer's disorder(s). Identify the social and cultural factors that may have contributed to Jennifer's disorder(s).
Molecular basis of infrared detection by snakes : "New & Views" is a means by which a new, important research finding is evaluated and discussed by experts in a particular field. Importantly, the aim is to present the fundamental research problem to a wider research audience in a concise manner

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create a database model

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

  Write pl-sql procedures and functions

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

  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.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  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.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

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

  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?

  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

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  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.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

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