Create stored procedures to support retrieval of the data


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.

Request for Solution File

Ask an Expert for Answer!!
PL-SQL Programming: Create stored procedures to support retrieval of the data
Reference No:- TGS02493931

Expected delivery within 24 Hours