Create stored procedures to support retrieval of the data

Assignment Help PL-SQL Programming
Reference no: EM131698407

Assignment Objectives

Write SQL queries to solve information retrieval problems of moderate complexity using a given relational database.

Length: Paper of 4-5 pages (excluding references and cover page) + Database System Plan template.

Scholarly references and articles only.

Key Assignment Draft

You have been asked to develop a database system plan for a local company (or a company of your choosing) that wants to track its customers/clients, appointments, billing, and employees. Structured query language (SQL) is used to create the database schema, maintain the database records, and perform administrative tasks. In addition to the Database System Plan template that includes section headings (project outline), submit a SQL Statements document of 4-5 pages based on the entity relationship (ER) model completed in Week 3.

Complete the following:

• Include SQL statements that use data definition language (DDL) commands to create the database schema specified in the ER diagram created in Week 3.

o Include indexes, constraints, and relationships.

• Include SQL statements that use data manipulation language (DML) to do the following:

o INSERT 15 records into each table.

o UPDATE 5 sets of records in each table using one specific criteria per update statement (e.g., EXACT MATCH, LIKE, BETWEEN, IN, or HAVING).

o DELETE 2 records from 1 table based on specific criteria (e.g., EXACT MATCH or LIKE).

• Create stored procedures to support retrieval of the data from the database, using SELECT statements to accomplish the following:

o Aggregate (group) functions (count, avg, min, max, sum)

- Write 4 queries using group functions.

o Group By

- Write 2 queries using the Group By, Having, and Order By syntax.

o Simple queries

- Write 4 queries that manipulate data in 1 table.

o Join queries

- Write 4 queries that join 2 or more tables.

• Add this section to the SQL Statements section of your database system plan.

Reference no: EM131698407

Questions Cloud

Discuss charles bernsteins- of time and the line : One topic of Charles Bernstein's "Of time and the line" is poetry itself, just as language is a topic
Influence the lives of others positively or negatively : What made each an effective leader? 2. How did each influence the lives of others positively or negatively?
Find the next day after incubation : How many colonies do you expect to find next day after incubation at 370C? Can you count these colonies? Can you use this plate for determining concentration?
How strong is the model fit overall : Develop fitted forecasts for all possible periods (including 2017) for the percentage of winning games (PCT) using the data from 2000-2017.
Create stored procedures to support retrieval of the data : Create stored procedures to support retrieval of the data from the database, using SELECT statements to accomplish the Aggregate (group) functions.
Discuss why do you think supplements have become so popular : Why do you think supplements have become so popular in the last 10 years. Do you feel that their popularity will continue to grow. Why or why not
What are the functions of dna gyrase : What are the functions of DNA gyrase, DNA ligase, and DNA polymerase?
Standard cellular respiration : In your discussion post include the name of the pathway, the reactants and the products, what organisms commonly utilize this pathway
What do you currently understand about microbiology : What do you currently understand about microbiology? (be sure to cite your information)

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