Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Problem 1- Answer Yes or No to the following Functional Dependency questions. Base your answers on the data shown in Table X below. There are no further rows in this table.  Provide reasoning VERY briefly.

X:

A

B

C

D

E

a1

b1

c1

d1

2013

a1

b1

c2

 

2013

a2

b2

c1

d1

2014

a3

b2

c2

 

2014

a3

b3

c1

d1

2014

a5

b3

c2

 

2014

1). Does A→B?

2). Does B→A?

3). Does B→E?

4). Does E→B?

5). Does C→D?

6). Does E→D

7). Does A+C→D?

Problem 2: Table "Complaints" records complaints related information. Given the functional dependencies identified below, identify the primary key.  Do not assume any further functional dependencies.

Complaints: (Complaint#, ComplaintReason, CustID, CustName, CustAddress, ReviewDept, AffiliateSite)

All Functional Dependencies:

Complaint# → ComplaintReason

CustID → CustName, CustAddress

ComplaintReason → ReviewDept

Problem 3: Normalize the following table into first normal form. The table uses one row to record information about each student. A student may take one or more electives. This table is not in 1NF. Normalize this table so it is in 1NF. In your answer, list all columns of the new table, the primary key, and all data, in a table format.

SID

LName

FName

Electives

100345

Ford

George

Geometry, Dance

200898

Gibbs

Mary

Orchestra

300987

Jordan

Jeff

Orchestra, Creative Writing, Dance

Problem 4: Determine if each of the following tables satisfies 2NF.  If the table is already in 2NF, say so.  If the table violates 2NF, say so and produce the normalized tables. Briefly describe the normalization process. Please see solutions document to the exercises.  Be sure to identify the primary key for each table you write. The primary key and additional functional dependencies are already identified.

A: Fundraising: (Event#,SubEvent, Date, OrganizerName, Beneficiary)

Additional FDs: Event# → Date, OrganizerName

B: FileDownload: (SessionId,DownLoadId, FileName, SessionStDateTime, SessionEndDateTime)

Additional FDs: SessionId → SessionStDateTime, SessionEndDateTime

C. Sale: (Date, Customer#, Product#, Vendor#, Vendor-City)

Additional FD: Vendor# → Vendor-City

D. BookInfo: (BookTitle, DateofPrint, #copiesPrinted, #copiesSold, Price, MajorSponsorName)

Additional FD: None

E. Tutoring: (TutorId, StudentID, TutorFName, TutorLName, Sfname, SLName, TutorAffiliation, TaffiPhone, #ofTimes, TotalFee)

Additional FD: TutorId# → TutorFName, TutorLName, TutorAffiliation

                      StudentId→SFName, SLName

                      TutorAffiliation→Taffiphone

Problem 5: Normalize the following table into 2NF and display the final tables with data in them.  Take the primary key and functional dependencies as given. Do not assume further funtional dependencies.

TravelItinerary: (ReservationId,TravelerID, LegNum, FlightNo, FlightDate, ReservationDate, ReservationTotal)

Additional FDs: ReservationId→Rdate, Total

Reservation

Id

Traveler

Id

Leg

Num

FlightNo

FlightDate

Reservation

Date

Reservation

Total

100230

10

1

UA3551

3/5/2002

1/20/2015

$320

100230

10

2

UA723

3/8/2016

1/20/2015

$320

100231

11

1

UA1754

3/6/2015

2/5/2015

$460

100231

11

2

UA3382

3/6/2015

2/5/2015

$460

100231

11

3

UA589

3/9/2015

2/5/2015

$460

100231

11

4

UA1655

3/9/2015

2/5/2015

$460

100232

12

1

UA1764

3/7/2015

2/10/2015

$500

100232

12

2

UA719

3/7/2015

2/10/2015

$500

100232

12

3

UA589

3/10/2015

2/10/2015

$500

100232

12

4

UA1085

3/10/2015

2/10/2015

$500

1). Normalize the table by listing the 2NF tables (without data).

2). Display the final tables with data in them.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M91409036
  • Price:- $35

Priced at Now at $35, Verified Solution

Have any Question?


Related Questions in DBMS

Real time analytics - data analytics assignment -this is a

Real Time Analytics - Data Analytics Assignment - This is a business analytics project aimed at generating innovative analytics solutions for a Global Food Consulting firm working in the area of Animal agriculture and fa ...

Question 1 a- consider that you are asked to design an

Question: 1. (a)- Consider that you are asked to design an entity relationship diagram based on the below scenario: A university consists of a number of departments (id, d_name) and each department offers some courses. A ...

Backgrounda new training organization called abc

Background A new training organization called ABC TechTraining is opening soon and they have approached you to help design their new database. They have just completed the refurbishment of the premises and are now lookin ...

Question 1 what isdata-manipulation language dml there are

Question: 1. What isData-Manipulation Language (DML)? There are four types of access in DML, explain each one. 2. Assume we have a Library Database consists of the following relations: author(author_id, first_name, last_ ...

Question talk about the importance of pulling data from

Question : Talk about the importance of pulling data from worksheets into a single sheet also the ways excel could be a solution to a complex challenge. The response must be typed, single spaced, must be in times new rom ...

You can work on this assignment individually or in a group

You can work on this assignment individually or in a group of 2. If you are working in a group please establish a group in Assignment 2 Group on Canvas In this assignment you are asked to explore the use of neural networ ...

Sql assignmentin these exercises youll enter and run your

SQL Assignment In these exercises, you'll enter and run your own SELECT statements. You will use the MyGuitarShop database for these queries. If you do not already have the MyGuitarShop database, the SQL script and the i ...

Databases assignment - monash library services monlib case

Databases Assignment - Monash Library Services (MonLib) Case Study TASK 1: Data Definition For this task you are required to complete the following: 1.1 - Add to your solutions script, the CREATE TABLE and CONSTRAINT def ...

Question sql injection is in the top 10 owasp and common

Question : SQL Injection is in the top 10 OWASP and Common Weakness Enumeration. Using MySQL and PHP, show your own very short and simple application that is vulnerable to this attack. Provide another version that mitiga ...

Question create an erd for the following scenarioa small

Question: Create an ERD for the following scenario. A small company ABC wants a database to keep track of internal company information. Â Given the following information create an ERD. The ABC Company has several departm ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As