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

JADS Premaster - Foundations of Databases Summary

Rating
-
Sold
1
Pages
9
Uploaded on
10-10-2021
Written in
2021/2022

Summary for the Foundations of Databases course of the Premaster Data Science and Entrepreneurship.

Institution
Course

Content preview

1. General
Database
Collection of permanently and digitally stored data.

Database model
A collection of rules to describe the possible structure consistency rules and behaviour of a
database.

Database Management System (DBMS)
A system that manages multiple databases and allows multiple applications to access data at
the same time.

NoSQL database
● Column-oriented database: data is stored in columns.
● Document-oriented database: data is stored in documents following some standard (i.e.
JSON, XML, etc.).
● Key-value database: data is stored in dictionaries or hash tables.
● Graph database: data is stored in nodes and edges (connections).

Types of data
● Structured data: tabular data (row & columns) in a strict format.
● Unstructured data: raw data (i.e. text files).

Relation
Table with rows and columns.

Attribute
Named columns of relation.

Value range
Set of valid values for one or more attributes.

Tuple
Row of a relation.

Super key
Attribute or a set of attributes used to uniquely identify tuples in a relation.
● Key candidate: minimal required attributes to maintain unique identification.

Primary key
The key candidate selected to uniquely identify tuples of a relation.



1

, Foreign key
Attribute which corresponds with the primary key of another relation.

Relation schema
Schema composed of the relation name, attributes and the primary key.

Relation database
Collection of normalized relations.

Integrity types
● Attribute integrity: Constraints based on an attribute i.e. limiting attribute values to a
specified range.
● Static tuple integrity: Limit the possible combination for values in a tuple.
● Static relation integrity: Constraints based on a relation ie.e the simultaneous occurrence
of certain tuples in a relation.
● Static database integrity: Constraints based on a database i.e. the primary key of relation
must exist if a foreign key references this attribute.
● Referential Integrity
● Restricted: reject update/delete action.
● Cascade: propagate into child relation on update/delete action.
● Nullify: set corresponding value to NULL on update/delete action.

Integrity conditions
● Static Integrity Condition: Limit the database status i.e. name must always be entered
(can be created with regular constraints).
● Dynamic Integrity Condition: Limit status changes or their consequences (can be created
with trigger constraints) i.e. single → married → {divorced, widowed}.

SQL types
● DDL: data definition language, defines database structure & schema.
● DML: data modification language, manages data within schema objects.
● DCL: data control language, manages data access, authentication & authorization.
● TCL: transaction control language, manages transactions within the DML language.

Static Constraints
● Primary key
● Foreign key
● Not null
● Unique
● Check

Transaction
Consists of one or more statements that are executed by one database client and select, insert,
update or delete data in the database.


2

Written for

Institution
Study
Course

Document information

Uploaded on
October 10, 2021
Number of pages
9
Written in
2021/2022
Type
SUMMARY

Subjects

$7.24
Get access to the full document:

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

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.
tomdewildt Jheronimus Academy of Data Science
Follow You need to be logged in order to follow users or courses
Sold
29
Member since
4 year
Number of followers
13
Documents
22
Last sold
11 months ago

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0

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