1 / 3

1.4.6 Schlüssel / Schlüsselattribute / Nichtschlüsselattribute (2|4)

a b c d e. 1.4.6 Schlüssel / Schlüsselattribute / Nichtschlüsselattribute (2|4). Algorithmus zur Bestimmung aller Schlüssel von r: bestimme alle A + gemäß Abschnitt 1.4.5 wähle alle minimalen K mit K + = U aus. Beispiel 1-8:

akira
Download Presentation

1.4.6 Schlüssel / Schlüsselattribute / Nichtschlüsselattribute (2|4)

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. a b c d e 1.4.6 Schlüssel / Schlüsselattribute / Nichtschlüsselattribute (2|4) • Algorithmus zur Bestimmung aller Schlüssel von r: • bestimme alle A+ gemäß Abschnitt 1.4.5 • wähle alle minimalen K mit K+ = U aus. Relationentheorie Ó AIFB Beispiel 1-8: (1)r1: (abcde | F1)F1 = {a  b, ac  d, c  e, e  c} Schlüssel: NSA: ac; ae b,d

  2. a c b d e 1.4.6 Schlüssel / Schlüsselattribute / Nichtschlüsselattribute (3|4) • Beispiel 1-8 (Fort.): • (2) r2: (abcde | F2) F2 = {ab  c, b  de, bc  a} Relationentheorie Ó AIFB Schlüssel: NSA: ab, bc d,e

  3. Name Beruf W-Ort Gehalt AbtL Abt# Geb# HM % Tel PName 1.4.6 Schlüssel / Schlüsselattribute / Nichtschlüsselattribute (4|4) • Beispiel 1-9: (Angestellten-Beispiel 1-3) • Relation angest: (U|F)U={ ANr, Name, Beruf, W-Ort, Gehalt, Abt#, AbtL, Geb#, HM, PNr, PName, %, TelNr}F={ANr  Name Beruf Abt# W-Ort Gehalt; Abt#  AbtL Geb#; Geb#  HM; PNr  Pname; ANr PNr % TelNr } Relationentheorie Ó AIFB Schlüssel: NSA: {ANr, PNr} ANr alle anderen PNr Man beachte: alle Anomalien!

More Related