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.:- M91414385
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in DBMS

Sqlwrite a select statement that returns three columns from

SQL Write a SELECT statement that returns three columns from the Vendors table: VendorContactFName, VendorContactLName, and VendorName. Sort the result set by last name, then by first name.

Sql transactions exercisesconsider table itemnameprice

SQL Transactions Exercises Consider table Item(name,price) where name is a key, and the following two concurrent transactions. T1: Begin Transaction; Update Item Set price = 2*price Where name = 'pencil'; Insert Into Ite ...

Relational database design a given the following business

Relational Database Design A) Given the following business rules, identify entity types, attributes (at least two attributes for each entity, including the primary key) and relationships, and then draw an Entity-Relation ...

A taking an unnormalised list describe how you would

(a) Taking an unnormalised list, describe how you would normalise it using the normal forms technique and show how the result of this method is used. (b) You are currently in the process of developing a RDBMS for a natio ...

Quesiton 1 what is data-manipulation language dml there are

Quesiton: 1. What is Data-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 ...

This assignment is a continuation of this solution the case

This assignment is a continuation of this solution The case study company has received the first report from its enterprise content management (ECM) consultant and now has a documented list of major content requirements ...

Database and information retrieval assignment - data

Database and Information Retrieval Assignment - Data Privacy Essay Task - Write an essay (aim for 750 words) that addresses issues associated with data proivacy. Use the Australian Privacy Principles - discussed in class ...

In sql developer onlydeliverables include sql scripts and

In SQL Developer ONLY! Deliverables Include SQL scripts and screenshot of the results: D1. Create the following three user-defined roles that are shown in the table below and assign them the specified permissions for the ...

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 ...

Query 1 the bookstore has decided to keep track of the

Query 1: The bookstore has decided to keep track of the vendors' information. In order to do this, one new table will be added to the database. The schema for this table, as related to the existing tables, is the followi ...

  • 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