Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help with these first three. thank you INSTRUCTIONS : Please read through every instruction and question well. Answer all questions on the answer sheet

please help with these first three. thank you

INSTRUCTIONS: Please read through every instruction and question well. Answer all questions on the answer sheet provided, and turn in the question paper together with the answer sheets. All SQL query statements must be executed on a DBMS. Open-book and notes.

Convert the following relation into an equivalent collection of relations in 3rd normal form (3NF) by writing down the schema of the resulting tables. The relation concerns student information. The information listed on the students includes details about their books borrowed from the library.

Student(sid firstname, lastname, Status,(ISBN, title, publisher, yearpubliser, cover, dateborrowed, dateofReturn, datereturned))

STUDENT (Sid: char(3), Firstname: char(10), Lastname: char(10),

Status: char(10), (ISBN : char(6), Title : char(20), Publisher: char(20),

YearPublished: numeric(5), Cover: char(4), DateBorrowed: date, DateOfReturn: date, DateReturned: date))

The following functional dependencies exist in the relation above.

Sid Firstname, Lastname, Status

ISBN Title, Publisher, YearPublished, Cover, DateBorrowed, DateOfReturn,

DateReturned

ISBN, Sid DateBorrowed, DateOfReturn, DateReturned

Use SQL to create the normalized tables from your answer to question (1), specifying the primary keys for each table. You are ONLY required to submit the SQL statements used to create the tables.

Using SQL, insert the records (shown on a separate sheet) into the normalized tables created above. You are required to submit the SQL statements.

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_2

Step: 3

blur-text-image_3

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 Processing Fundamentals Design And Implementation

Authors: David M. Kroenke

5th Edition

B000CSIH5A, 978-0023668814

More Books

Students also viewed these Databases questions