Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the guidance provided in Box 1 of the poster, create an SQL script file that has the same content as the Unnormalized Form (

Using the guidance provided in Box 1 of the poster, create an SQL script file that has the same content as the Unnormalized Form (UNF) but eliminates the First Normal Form (1NF) violations. Do not normalize beyond 1NF.
Your script should contains three sections:
An anonymous PL/SQL block that drops any existing tables having the same name as those that will be created later in the file. (Note that you will want to drop the tables in the reverse order of creation. This helps to ensure that child rows in one-to-many and many-to-many relationships are removed before their parents, so that drops are not abandoned due to key constraint violations.)
CREATE statements for two tables, which should be named nf_puppies_1nf and nf_tricks_1nf.(See the Scoring Guide below for details on features that must be present in these tables to earn full credit.)
A series of INSERT statements that populate your two tables with the same data as in the UNF version, but refactored into 1NF form. (See Box 2 on the poster for an example of how the data should appear in the Trick table after conversion to 1NF, and compare with the data in the UNF version.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions

Question

Explain how social media can contribute to employee productivity.

Answered: 1 week ago

Question

5. How will the members be held accountable?

Answered: 1 week ago

Question

How to reverse a Armstrong number by using double linked list ?

Answered: 1 week ago