Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask PL-SQL Expert

Project Assignment

Description

Note that this project must be unique in its design (E-R diagram) and implementation (SQL queries). You are not to copy or use any part of a database project that was previously submitted or appears on the Web, in a textbook, or otherwise made available via an external source. Contact your instructor if you have any questions regarding this requirement.

PART 1

(1) ProjectDescription.

Provide an overview of your project identifying the major components as part of a database design. The format is an executive summary to be presented to management for review.

(2) Entity-RelationshipDiagram.

Use the entity-relationship diagram (crow's foot) notation to design your database system. Be sure to:

(1) identify entity types; (2) describe relationships between or among entity types; (3) identify modality and cardinality for each relationship; (4) identify associative entities and intersection data; and (5) label primary and foreign key attributes.

Your entity-relationship diagram will have a minimum of six (6) entity types of which at least two (2) are associative entities with intersection data. The ERD is accompanied by a brief explanation of each component in the entity-relationship model.

Note: You can use Microsoft Visio, Word, PowerPoint, or Access as a diagramming tool. Please obtain approval from your instructor regarding the use of other diagramming tools.

PART 2

1. SQL Data DefinitionLanguage (DDL) and Base Tables with Data/Views.

1.1. Create a base table. Write the SQL to create a table based on one of your entities. Be sure to identify the primary key as part of your SQLsyntax.

1.2. Create a view. Write the SQL to create a view on the basetable.

1.3. Show the base tables with data. Show a base table along with six rows containing data for three entities in your entity-relationship diagram. (Display each table in the form of an MS Wordtable.)

2. SQL Insert/Update/Delete Manipulation.

2.1. Insert a row. Write a SQL query to insert a row into one of your basetables.
2.2. Update a row. Write a SQL query to change a data value in the insertedrow.
2.3. Delete a row. Write a SQL query to delete the row from your basetable.

3. SQL Data Queries. For 3.1 through 3.7, write the SQL query AND show the output using the data in your basetables.

3.1. Write a SQL query using a comparison operator (e.g., =, >,<).
3.2. Write a SQL query using the "AND" or "OR"operator.
3.3. Write a SQL query using the "BETWEEN" or "LIKE"operator.
3.4. Write a SQL query using a built-infunction.
3.5. Write a SQL query using the "GROUP BY"clause.
3.6. Write a SQL join query using two or more basetables.
3.7. Write a SQL subquery using two or more basetables.

PART 3

1. For the database concept you have chosen for Parts 1 and 2, provide thefollowing:

• Display your entities/tables in first normalform
• Display your entities/tables in second normalform
• Display your entities/tables in third normalform

You may need to rework your relationships to achieve this. For each form, provide the tables and the defining associations.

2. Next, define three business processes that will access a particular table and attribute. For example, "A customer login process will require accessing the CUSTOMER table and retrieving the CustomerID and CustomerPassword attributes". Provide detail on what the business process is and who is involved. For each business process, provide the SQL that would need to run to access it in the first, second, and third normal forms you provided in the previoussection.

3. Finally, choose a database optimization strategy, whether physical or logical, and describe how it could potentially benefit any or all of your normal form examples. Provide a comparison between a use case with and without this strategyimplemented.

PL-SQL, Programming

  • Category:- PL-SQL
  • Reference No.:- M92742532

Have any Question?


Related Questions in PL-SQL

For this assignment you will be provided a database backup

For this assignment, you will be provided a database backup for a database called FinanceDB. You will have to restore this backup to your own version of SQL Server. All of the questions in this assignment relate to the F ...

Complete the following tasksin microsoft access create the

Complete the following tasks: In Microsoft Access, create the database and tables that you identified in W3 Assignment 2. In Microsoft Word, write the SQL statements to create the database and tables. Write SQL statement ...

Assignment - queries functions and triggersaimthe aims of

Assignment - Queries, Functions and Triggers Aim The aims of this assignment are to: formulate SQL queries; populate an RDBMS with a real dataset, and analyse the data; design test data for testing SQL queries; create SQ ...

Purpose of the assessment with ulo mapping the purpose of

Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop skills in managing data in databases and to gain understanding of data model development and implementation using a commercially a ...

Continuing the project you have worked on in weeks 1-4 in

Continuing the project you have worked on in Weeks 1-4, in this final week, complete the following tasks: Refine your database and SQL statements by incorporating your instructor's feedback. Verify that the database comp ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As