1 / 2

In class exercises

In class exercises. Consider the relation Kwatts, Dorm, Floor#, Date, Time, Temp, Humidity, Occupancy, Weekday?, SensorID and FDs that are asserted as true of the relation 1) Dorm, Floor#  Occupancy 2) Date, Time  Temp, Humidity 3) Date  Weekday?

triage
Télécharger la présentation

In class exercises

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. In class exercises Consider the relation Kwatts, Dorm, Floor#, Date, Time, Temp, Humidity, Occupancy, Weekday?, SensorID and FDs that are asserted as true of the relation 1) Dorm, Floor#  Occupancy 2) Date, Time  Temp, Humidity 3) Date  Weekday? 4) SensorID, Date, Time, Temp  Kwatts 5) Dorm, Floor#, Date, Time, Temp  Kwatts 6) SensorId  Dorm, Floor# 7) Dorm, Floor#  SensorId a) Give a minimal FD set. If there is more than one such set, just give one of them. b) Give all keys for the relation

  2. c) Give a dependency-preserving decomposition of the relation into BCNF tables. If the relation is already in BCNF then state so. If there is no dependency-preserving decomposition into BCNF tables then state so.

More Related