Chat with us, powered by LiveChat Databases store, organize, collect, and retrieve data, and, given the amount of data some databases store, how they're built can seem disjointed and confusing. To overcome these obsta | Wridemy

Databases store, organize, collect, and retrieve data, and, given the amount of data some databases store, how they’re built can seem disjointed and confusing. To overcome these obsta

 

Databases store, organize, collect, and retrieve data, and, given the amount of data some databases store, how they're built can seem disjointed and confusing. To overcome these obstacles and make databases useful, computer scientists developed complex algorithms and database designs to create efficient and accessible databases. Relational databases are an example of this type of solution. They store data in tables that are related by different unique keys so that relevant data is stored together, but different data combinations can still be retrieved using the unique identifying keys.

In this assignment, you will explore these topics by creating a simple query to retrieve data, normalize a sample database, and design an entity relationship diagram (ERD). 

For further instruction, read the attach document.

Assiognment in Data base Fundamental

About this Assignment

Databases store, organize, collect, and retrieve data, and, given the amount of data some databases store, how they're built can seem disjointed and confusing. To overcome these obstacles and make databases useful, computer scientists developed complex algorithms and database designs to create efficient and accessible databases. Relational databases are an example of this type of solution. They store data in tables that are related by different unique keys so that relevant data is stored together, but different data combinations can still be retrieved using the unique identifying keys.

In this assignment, you will explore these topics by creating a simple query to retrieve data, normalize a sample database, and design an entity relationship diagram (ERD).

Part 1 – Retrieve Data From a Database

Consider the following sample database.

ERD diagram

Figure 1: ERD for Library Database

Given the following sample data, you will see that certain tables are linked via primary and foreign keys (e.g., Client and Borrower: ClientId is on both tables).

Write the following SQL statements to retrieve data:

· Select all borrowers

· Select all books borrowed by borrowers, order by borrow date

· Select all books and include the author first and last name

· Insert a new client with an occupation of pilot

Note that your queries will not return data, unless you would like to create and set up a functioning database. The purpose of this exercise is to ensure you are able to write fully-formed and appropriate SQL statements.

Part Two – Database Normalization

Write a brief  500 to 750 word essay that evaluates the miniature database below. Currently, the database is not in third normal form (3NF). Your analysis should identify the  dependencies that exist in the current database setup and explain the steps needed to transform it to third normal form.

Miniature Database

Following is the table structure for the tables in the current database.

Table Structure for Produce

COLUMN_NAME

DATA_TYPE

NULLABLE

ITEMID

CHAR (5)

No

SUPPLIERID

CHAR (10)

No

PLUCODE

CHAR (4,2)

No

PRODUCENAME

CHAR (15)

No

TYPE

CHAR (10)

No

STOCKQTY

NUMBER (4,2)

No

NXTDELIVERY

DATE

No

Table Structure for Animal Products:

COLUMN_NAME

DATA_TYPE

NULLABLE

ITEMID

CHAR (5)

No

SUPPLIERID

CHAR (10)

No

ANPRDNAME

CHAR (15)

No

TYPE

CHAR (10)

No

STOCKQTY

NUMBER(4,2)

No

NXTDELIVERY

DATE

Yes

Table Structure for Grains:

COLUMN_NAME

DATA_TYPE

NULLABLE

ITEMID

CHAR (5)

No

SUPPLIERID

CHAR (10)

No

GRAINNAME

CHAR (15)

No

TYPE

CHAR (10)

No

STOCKQTY

NUMBER(4,2)

No

NXTDELIVERY

DATE

Yes

Table Structure of Suppliers:

COLUMN_NAME

DATA_TYPE

NULLABLE

SUPPLIERID

CHAR (10)

No

LASTDELIVERY

DATE

Yes

SPECIALTY

CHAR (15)

Yes

ACTIVE

CHAR (1)

No

Table Structure of Purchases:

COLUMN_NAME

DATA_TYPE

NULLABLE

ITEMID

CHAR (5)

No

TOTALBOUGHT

NUMBER (8,2)

Yes

TOTALSOLD

NUMBER(8,2)

Yes

TOTALREV

NUMBER(10,2)

Yes

MARGIN

NUMBER(10,2)

Yes

Part Three – Develop an ERD – Entity Relationship Diagram

Now that you have identified the steps necessary to bring this database to third normal form (3NF), you will create a diagram that displays the new layout and the relationships between the tables. It should depict how you successfully removed dependencies in the tables to create a relational database model.

Formatting & Sources

Save your final assignment in Microsoft Word, pasting in the SQL query that you had created and your analysis of how the sample database can be normalized to 3NF. You can create the ERD using Word drawing tools, or a free charting tool such as Lucidchart. Be sure to take a screen capture of the final diagram and paste into the Word document.

For the essay portion, please use APA format. You may refer to the course material for supporting evidence. You may also use other sources as needed, but please make sure you cite them using APA format. If you use any Study.com lessons as sources, please also cite them in APA (including the lesson title and instructor's name). If you are unsure about how to use APA format for your paper and sources, please see the following lessons:

· What is APA Format? Style & Definition

· How To Format APA Citations

Related Lessons

The following lessons will be helpful as you complete your assignment:

· Basic SQL Query Syntax

· First Normal Form in DBMS with Examples

· Third Normal Form in DBMS with Examples

· Designing a Relational Database: Tutorial & Overview

· Relationships in SQL: Examples & Explanation

Grading Rubric

Your assignment will be graded based on the following rubric:

Category

Unacceptable (0-2)

Needs Improvement (3-6)

Good (7-8)

Excellent (9-10)

Total Possible Points

SQL Query Creation (x3)

One or fewer queries are provided; queries do not follow SQL syntax or are wrong

Two or fewer queries provided; does not follow SQL syntax

Queries are brute force, unnecessarily long, or not formatted in a readable manner

Queries are succinct, well-formatted, and would produce the desired results

30

Normalization Analysis (x3)

Analysis is lacking or incomplete

Explanation is attempted but with unclear reasoning or context.

Explanation is clearly stated and correct.

Normalization is thoroughly explained, thoughtfully structured and factually accurate; APA formatting is used correctly.

30

Entity Relationship Diagram (x3)

Diagram missing or does not address the sample data

Diagram partially complete; does not address normalization or move database toward 3NF; hard to read

Diagram complete, with most components complete; closer to 2NF

Diagram shows a 3NF database with all connections; notated properly and easy to follow

30

Clarity & Structure (x1)

Does not provide adequate explanation of what will be discussed. Is difficult to follow or lacks reasoning

Attempts to explain context are present but unclear or in need of further detail.

Produces a good essay with clear reasoning and adequate scope and complexity.

Essay is easy to follow, grammatically correct and clearly justified.

10

Before You Submit

When you complete your assignment, we suggest taking some time to check for any errors or to add any finishing touches. We also suggest that you use online plagiarism checkers, such as  PlagScan, to make sure that your assignment is not too similar to any existing materials. Plagiarized submissions will NOT be graded.

image1.png

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Wridemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order

Related Tags

Academic APA Writing College Course Discussion Management English Finance General Graduate History Information Justify Literature MLA