CSC316 Trident Module 3 Normal Forms, Dependency & SQL Command

timer Asked: Feb 16th, 2019
account_balance_wallet $30

Question Description

I just need the questions in the word document answered. Follow the directions in the word doc and pass on the answers. need completed by midnight 16 feb 2019.

Module 3 Assignment There are two parts to this assignment, part A and B. Make sure to complete all of them. Part A: Normalization 1. Briefly explain what the 1st, 2nd, and 3rd normal forms are, and identify each of these normal forms in the dependency diagram shown in the following figure: 2. Use the above dependency diagram as an example; draw the dependency diagram for the following student table: Use Microsoft Word for this part (Part A) of the assignment. When you are done, submit this document to the Module 3 Dropbox as part of the Module 3 Assignment. 1 Part B: Write SQL command to create tables and make queries Note: You are required to use Oracle Live SQL to accomplish the following tasks: 1) Copy a snippet of the result of your query and paste it in the Word document. 2) Copy your work to a notepad file, and save it as mod3Truck.sql. Submit both the Word document and the SQL file to the Module 3 Dropbox. Three tables are related to this part of the assignment: Base, Type, Truck table. The structure of each table and associated attributes are listed below: Table name: BASE Primary key: BASENUM Attribute (Field) Name Data Declaration BASENUM CHAR(3) BASECITY VARCHAR2(20) BASESTATE CHAR(2) BASEPHON VARCHAR2(10) BASEMGR VARCHAR2(10) Attribute (Field) Name Data Declaration TYPENUM CHAR(1) TYPEDESC VARCHAR2(30) Table name: TYPE Primary key: TYPENUM Table name: TRUCK Primary key: TNUM Foreign key: BASENUM, TYPENUM Attribute (Field) Name Data Declaration TNUM CHAR(4) BASENUM CHAR(3) TYPENUM CHAR(1) TMILES NUMBER(7,1) TBOUGHT DATE TSERIAL VARCHAR2(20) 1) Create these three tables with appropriate primary and foreign key declaration. The order in which these three tables are created matters in this assignment. Pay special attention to referential integrity among the tables. Create the BASE table first, then the TYPE table, and finally the TRUCK table (since the TRUCK table is the one that has foreign keys). Debug your code till it is bug free. 2 2) Populate these three tables with the following data. 3) Write SQL commands to accomplish the following tasks: • Display truck number; buy date, mileage, and serial number of all trucks. • Display truck number, buy date, and mileage of all trucks with Dallas as their base. • Display truck number and buy date of all trucks with Dallas as their base and with mileage lower than 30,000 miles. 3

Tutor Answer

School: University of Maryland


flag Report DMCA

awesome work thanks

Similar Questions
Hot Questions
Related Tags
Study Guides

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors