1 / 9

Normalizacija - vežbe

Normalizacija - vežbe. Primer 1. 1 NF zahteva da svaki atribut ima atomske vrednosti – Šifra_predmeta, Predmet_ime i ocena ne ispunjavaju uslove. INSERT anomalije UPDATE anomalije DELETE anomalije. Primer 1. 1 NF. Tabela STUDENT I. Primer 1. Tabela STUDENTI. 1 NF. Tabela ISPITI.

varana
Download Presentation

Normalizacija - vežbe

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. Normalizacija - vežbe

  2. Primer 1 • 1 NF zahteva da svaki atribut ima atomske vrednosti – Šifra_predmeta, Predmet_ime i ocena ne ispunjavaju uslove

  3. INSERT anomalije UPDATE anomalije DELETE anomalije Primer 1 • 1 NF Tabela STUDENTI

  4. Primer 1 Tabela STUDENTI • 1 NF Tabela ISPITI

  5. Primer 1 • 2 NF – značajna za relacije čiji primarni ključ sadrži više atributa • Šifra_predmeta Predmet_ime a to nije dozvoljeno Tabela ISPITI

  6. Primer 1 • 2 NF Tabela PREDMETI Tabela ISPITI

  7. Primer 1 • 3 NF zabranjuje posredne zavisnosti – atribut mora da zavisi od primarnog ključa ali ne i od nekog drugog atributa koji nije ključ • Šifra_smeraRukovodilac_ime Tabela STUDENTI

  8. Primer 1 • 3 NF Tabela STUDENTI Tabela SMEROVI

  9. Primer 1 • Povezivanje tabela

More Related