Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Samenvatting colleges databases 2

Rating
2.0
(1)
Sold
8
Pages
24
Uploaded on
14-06-2018
Written in
2017/2018

Samenvatting colleges databases 2. Behandelde onderwerpen zijn: algemene SQL syntaxis, MySQL algemeen, indices, joins, transacties, functies, procedures, views, triggers, ACID, isolation levels, concurrency, MVCC. Afbeeldingen gebruikt in het document zijn niet van mij.

Show more Read less
Institution
Course

Content preview

Samenvatting databases 2
Collegesheets




Pascal Cokart
Juni 2018
Versie 1.5

,Inhoud
College 1.................................................................................................................................................4
Surrogate key (surrogaatsleutel)........................................................................................................4
Waarom surrogaatsleutel gebruiken..................................................................................................4
Auto increment...................................................................................................................................4
College 2.................................................................................................................................................5
Algemeen SQL....................................................................................................................................5
SQL onderdelen..................................................................................................................................5
MySQL datatypen...............................................................................................................................5
CHAR...................................................................................................................................................6
INTEGER..............................................................................................................................................6
BOOLEAN en ENUM............................................................................................................................6
Kiezen van datatypen.........................................................................................................................6
Data integriteit...................................................................................................................................6
Primaire sleutel en unieke sleutels.....................................................................................................6
SQL DDL (Data Defniion Language)...................................................................................................7
Access control.....................................................................................................................................7
Rechten niveaus binnen een database...............................................................................................7
Rechten binnen een tabel...................................................................................................................7
College 3.................................................................................................................................................8
Volgorde SELECT statement:..............................................................................................................8
Funcies..............................................................................................................................................8
WHERE clause.....................................................................................................................................8
HAVING...............................................................................................................................................9
Geaggregeerde funcies:....................................................................................................................9
GROUP BY...........................................................................................................................................9
Storage engines..................................................................................................................................9
Joins....................................................................................................................................................9
Soorten joins.....................................................................................................................................10
Syntax joins.......................................................................................................................................10
Syntax ON.....................................................................................................................................10
Syntax USING................................................................................................................................10
Syntax NATURAL JOIN...................................................................................................................10
Syntax WHERE..............................................................................................................................10
Subquerys.........................................................................................................................................10


1

, User variables...................................................................................................................................11
College 4...............................................................................................................................................12
Indices..............................................................................................................................................12
Gebruik indices in MySQL.................................................................................................................12
Views................................................................................................................................................12
Waarom views..................................................................................................................................12
Updatable views...............................................................................................................................12
Beperkingen van views.....................................................................................................................13
Stored procedures en funcies..........................................................................................................13
Waarom stored procedures of funcies............................................................................................13
Procedureel SQL...............................................................................................................................14
Variabelen in funciessprocedures...................................................................................................14
Syntax procedures en funcies..........................................................................................................14
Syntax procedure..........................................................................................................................14
Syntax funcie...............................................................................................................................14
Voorbeeld funcie.........................................................................................................................15
DELIMITER........................................................................................................................................15
RETURN............................................................................................................................................15
Comments........................................................................................................................................15
View vs funcion...............................................................................................................................15
Triggers.............................................................................................................................................15
Waarom triggers...............................................................................................................................16
Beperkingen.....................................................................................................................................16
Syntax trigger....................................................................................................................................16
Syntax trigger:...............................................................................................................................16
College 5...............................................................................................................................................17
Database transacions......................................................................................................................17
Waarom transacies.........................................................................................................................17
ACID (Atomacity Concistency Isolaion Durability)...........................................................................17
Concurrency problems:....................................................................................................................18
Klassieke concurrency problemen....................................................................................................18
Isolaion levels..................................................................................................................................19
Concurrency control strategies.........................................................................................................20
Locking..............................................................................................................................................20
Locks gebruiken............................................................................................................................21
Niveau van vergrendeling (granularity of locking)............................................................................21

2

Written for

Institution
Study
Course

Document information

Uploaded on
June 14, 2018
File latest updated on
June 17, 2018
Number of pages
24
Written in
2017/2018
Type
SUMMARY

Subjects

Free
Get access to the full document:
Download

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Reviews from verified buyers

Showing all reviews
5 year ago

It does indicate what certain functions do, but it does not say how to use them.

2.0

1 reviews

5
0
4
0
3
0
2
1
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
PascalDutch Hanzehogeschool Groningen
Follow You need to be logged in order to follow users or courses
Sold
667
Member since
8 year
Number of followers
394
Documents
9
Last sold
6 months ago

Maakt samenvattingen voor de opleiding hbo-ICT/informatica (major software engineering) van de Hanzehogeschool Groningen. Vanaf heden heb ik alle samenvattingen gratis gemaakt.

4.3

23 reviews

5
13
4
6
3
2
2
1
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions