100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Databases $4.82   Add to cart

Class notes

Databases

1 review
 377 views  10 purchases
  • Course
  • Institution

Samenvatting en uitgebreidere informatie over de onderwerpen Databases, ER diagram, ER models, SQL, DDL, queries, relational algebra, scheme refinement uit de colleges voor het vak Databases

Preview 2 out of 29  pages

  • June 11, 2015
  • 29
  • 2014/2015
  • Class notes
  • M. emmerich
  • All classes

1  review

review-writer-avatar

By: robbieclaassen • 3 year ago

avatar-seller
Samenvatting

Databases
11 juni 2015




Inhoudsopgave
1 Entity - Relationship Models 2

2 Logical Database Design - SQL/DDL 6

3 Database queries 10

4 Database Application Development 17

5 Relational Algebra 17

6 Schema refinement 23




Pagina 1 van 29

, Samenvatting
Databases



1 Entity - Relationship Models
De Architectuur

De architectuur van een relationele database bestaat uit de drie verschillende compo-
nenten verspreid over verschillende lagen. Van boven naar onder:
- Views: beschrijven hoe de gebruiker de data ziet.
- Conceptual Schema: beschrijft de logisch structuur, oftewel de tabel structuur.
- Physical Schema: beschrijft de bestanden en datastructuren voor snelle data-
access.


Voorbeeld




De architectuur van de bovenstaande relationele database is:
De Conceptual Schema:
- Students(sid: string, name: string, login: string, age:integer)
- Courses(cid: string, cname: string, credits: interger)
- Enrolled(sid: string, cid: string, grade: string)
Physical Schema:
- De relaties worden opgeslagen als ongesorteerde bestanden.
- B+ tree index op de eerste kolom van de Students tabel.
views:
- een extern schema, enkel voor de docenten, die niet is opgeslagen in de data-
base, maar afgeleid wordt uit de andere data.
- Courseinfo(cid: string, numberOfStudents: integer, bestGrade: integer)
Databases opbouwen

Het opbouwen van een databases gebeurd in een aantal stappen, dat zijn er altijd ten
minsten 5:

Pagina 2 van 29

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 Stuvian95. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

70055 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.82  10x  sold
  • (1)
  Add to cart