1 / 2

Schlüssel, Schlüsselwerte (2|3)

Schlüssel, Schlüsselwerte (2|3). K  A ist „Schlüssel (engl.: key)“ für E : <A> <=>

neila
Download Presentation

Schlüssel, Schlüsselwerte (2|3)

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. Schlüssel, Schlüsselwerte (2|3) • K A ist „Schlüssel (engl.: key)“ für E : <A><=> • (K1) K ist „identifizierende“ Attributkombination für E : <A>, (d.h. verschiedene Objekte der realen Welt haben auch verschiedene Attributwerte bzgl. K) • (K2) Es gibt keine echte Teilmenge K‘  K, für die Eigenschaft K1 gilt (d.h. K ist minimal mit Eigenschaft (K1)). • Es kann mehrere Schlüssel, d.h. Attribute (Attributkombi- nationen) mit obigen Eigenschaften (K1) und (K2) geben. • Primärschlüssel (primary key): einziger oder fest ausgewählter Schlüssel häufig: E# (E# A)

  2. Schlüssel, Schlüsselwerte (3|3) Angestellte : < Name, AngNr, Ort, Gehalt, GebDatum > AngNr ist SchlüsselName, GebDatum evtl. Schlüssel Üblich ist die Verwendung eines einfachen Schlüsselattributes: AngNr, AbteilungsNr, ArtikelNr, ... anstelle einer mehrstelligen Attributkombination.

More Related