Answered step by step
Verified Expert Solution
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 of the poster, create an SQL script file that has the same content as the Unnormalized Form UNF but eliminates the First Normal Form NF violations. Do not normalize beyond NF
Your script should contains three sections:
An anonymous PLSQL 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 onetomany and manytomany 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 nfpuppiesnf and nftricksnfSee 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 NF form. See Box on the poster for an example of how the data should appear in the Trick table after conversion to NF and compare with the data in the UNF version.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started