100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Samenvatting Databanken I $4.85
Add to cart

Summary

Samenvatting Databanken I

2 reviews
 257 views  15 purchases
  • Course
  • Institution

Volledige samenvatting databanken 1, inclusief SQL.

Preview 3 out of 47  pages

  • August 3, 2017
  • 47
  • 2016/2017
  • Summary

2  reviews

review-writer-avatar

By: arowar123 • 6 year ago

review-writer-avatar

By: arthurcoucke • 7 year ago

avatar-seller
DATABANKEN I
Academiejaar 2016 - 2017




Jakob Lierman
HoGent

,Jakob Lierman Databanken I


Inhoud
CONCEPTUEEL MODEL ...................................................................................................................................... 5
WAT IS EEN DATABASE? ............................................................................................................................................. 5
BOUWEN VAN EEN DATABASE ...................................................................................................................................... 5
CONCEPTUEEL MODEL ................................................................................................................................................ 5
ENTITY RELATIONSHIP MODEL ..................................................................................................................................... 6
Entiteittype....................................................................................................................................................... 6
Attribuuttype ................................................................................................................................................... 6
Relatietype ....................................................................................................................................................... 6
ERD (= ENTITY RELATIONSHIP DIAGRAM)...................................................................................................................... 7
CONCEPTUEEL MODEL – ZWAKKE ENTITEITEN .................................................................................................. 8
ZWAK ENTITEITTYPE ................................................................................................................................................... 8
RELATIE-ATTRIBUTEN ................................................................................................................................................. 8
HISTORIEK................................................................................................................................................................ 9
PROBLEMEN BIJ GEBRUIK ENTITY RELATIONSHIPMODEL ..................................................................................................... 9
CONCEPTUEEL MODEL – ENHANCED ENTITY RELATIONSHIP MODEL .............................................................. 11
STRUCTUURBEPERKING ERM .................................................................................................................................... 11
UITBREIDING ERM MET SPECIALISATIE / GENERALISATIE ................................................................................................. 11
Grafische voorstelling van een specialisatie .................................................................................................. 11
UITBREIDING ERM MET AGGREGATIE / COMPOSITIE ...................................................................................................... 12
Grafische voorstelling aggregatie .................................................................................................................. 12
Grafische voorstelling compositie .................................................................................................................. 12
EERM: VERBANDEN TUSSEN ENTITEITTYPEN ................................................................................................................. 12
LOGISCH MODEL ............................................................................................................................................. 13
RELATIONEEL MODEL ............................................................................................................................................... 13
Tupel .............................................................................................................................................................. 13
Attribuut......................................................................................................................................................... 13
Domein ........................................................................................................................................................... 13
Attribuuttype ................................................................................................................................................. 13
Relatie ............................................................................................................................................................ 13
ER-MODEL  RELATIONEEL MODEL ........................................................................................................................... 14
REGELS .................................................................................................................................................................. 14
Elk tupel is uniek ............................................................................................................................................ 14
Kandidaatsleutel .......................................................................................................................................................... 14
Primaire sleutel ............................................................................................................................................................ 14
Alternatieve sleutel...................................................................................................................................................... 14
Elk attribuut is éénwaardig en atomair ......................................................................................................... 14
Verbanden tussen relaties worden gelegd aan de hand van vreemde sleutels ............................................ 14
Vreemde sleutel ........................................................................................................................................................... 14
MAPPING .............................................................................................................................................................. 14
Stappenplan ................................................................................................................................................... 14
Mapping van één op veel relaties................................................................................................................................ 15
Mapping van één op veel recursieve relaties .............................................................................................................. 15
Mapping van één op één relaties ................................................................................................................................ 16
Mapping van één op één unaire (recursieve) relaties ................................................................................................. 16
Mapping van veel op veel relaties ............................................................................................................................... 17
Mapping van zwakke entiteittypen ............................................................................................................................. 17
Mapping van meerwaardige attributen ...................................................................................................................... 18
Keuze van de primaire sleutel ..................................................................................................................................... 18
Mapping van specialisatie ............................................................................................................................. 19

2

, Jakob Lierman Databanken I


Mapping Mandatory, And ........................................................................................................................................... 19
Mapping Optional, And................................................................................................................................................ 20
Mapping Mandatory, Or .............................................................................................................................................. 20
Mapping Optional, Or .................................................................................................................................................. 21
Structuurbeperkingen .................................................................................................................................... 21
NORMALISATIE ............................................................................................................................................... 22
NORMALISATIE ....................................................................................................................................................... 22
Doel normalisatie ........................................................................................................................................... 22
Anomalieën .................................................................................................................................................... 23
Functionele onafhankelijkheid ....................................................................................................................... 23
Partiele afhankelijkheid ............................................................................................................................................... 23
Volledige functionele afhankelijkheid ......................................................................................................................... 23
Transitieve functionele afhankelijkheid ...................................................................................................................... 23
Identificeren van functionele afhankelijkheden.......................................................................................................... 24
Normalisatieproces ........................................................................................................................................ 24
Voorbereiding: verzamelen nodige gegevens door middel van gesprekken en documentatie ................................. 24
Stel R0 op en bepaal de functionele afhankelijkheden ............................................................................................... 24
Eerste normaalvorm .................................................................................................................................................... 24
Tweede normaalvorm.................................................................................................................................................. 25
Derde normaalvorm .................................................................................................................................................... 25
Het relationele model .................................................................................................................................... 26
VALIDEREN VAN RELATIES DOOR NORMALISATIE ............................................................................................................ 26
DATABANKEN GEKADERD ............................................................................................................................... 27
DEFINITIES ............................................................................................................................................................. 27
GEGEVENSMANAGEMENT ......................................................................................................................................... 27
Gegevensmanagement via bestanden .......................................................................................................... 27
Gegevensmanagement via een database ..................................................................................................... 27
Onderdelen .................................................................................................................................................................. 27
Modellen ...................................................................................................................................................................... 27
Rollen in een databasesysteem ................................................................................................................................... 28
Voordelen tegenover werken met bestanden ............................................................................................................ 28
Nadelen ........................................................................................................................................................................ 28
Voorwaarden voor een goede database ..................................................................................................................... 28
ARCHITECTUUR ....................................................................................................................................................... 28
SQL ................................................................................................................................................................. 30
SQL – STANDAARDEN EN DIALECTEN ........................................................................................................................... 30
SQL – OVERZICHT ................................................................................................................................................... 30
Data Definition Language (DDL) .................................................................................................................... 30
Data Manipulation Language (DML) ............................................................................................................. 30
Data Control Language (DCL) ........................................................................................................................ 30
DML – RAADPLEGEN VAN GEGEVENS .......................................................................................................................... 30
SELECT ............................................................................................................................................................ 30
FROM ............................................................................................................................................................. 30
SELECT … WHERE ........................................................................................................................................... 30
Vergelijkingsoperatoren .............................................................................................................................................. 30
Wildcards ..................................................................................................................................................................... 30
Logische operatoren .................................................................................................................................................... 31
Waarden in een interval .............................................................................................................................................. 31
Lijst van waarden ......................................................................................................................................................... 31
Testen op onbekende waarden (niet ingevulde velden) ............................................................................................. 32
SELECT + fomatteren resultaten .................................................................................................................... 32
SELECT … ORDER BY ..................................................................................................................................................... 32
SELECT DISTINCT/ALL ................................................................................................................................................... 33

3

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller jakoblierman. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $4.85. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

56326 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$4.85  15x  sold
  • (2)
Add to cart
Added