Chapter 6 Flashcards

1
Q

three types of knowledge

A
  1. Entity: organisation or a person
  2. organisational knowledge: retain or increase knowledge when people leave or join an organisation
  3. databases: permanent knowledge
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

attributes/ fields

A

columns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

records/ tuples

A

rows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

unique key

A

makes it possible to link different tables to each other

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

candidate keys

A

when multiple keys are possible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

primary key

A

the most suitable key of the candidate keys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

join-operation

A

action where several related tables are linked in complex SQL queries to provide as much information as possible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

First Normal Form (1NF)

A
  1. only atomic values: value cannot be divided into separate forms
  2. only 1 value in the domain: not several values per box
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Second Normal Form (2NF)

A
  1. meets 1NF
  2. if there is a composite key, there are no partial dependencies: one of the attributes cannot depend on one of the two columns instead of both
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

third normal form (3NF)

A
  1. meets 2NF

2. there are no transitive dependencies: there are no attributes that are only indirectly linked to the primary key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

entities

A

things that are important to an organisation and can be both immaterial and physical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

attributes

A

describe an entity and thus represent the properties of a particular entity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

relationships

A

links between different entities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

cardinalities

A

indicate how many numbers of a given entity are related to numbers from another entity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

one to one

A

one element of entity A is related to one element of entity B (|)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

one to many

A

one element of entity A is associated with multiple elements in entity B

17
Q

many to many

A

multiple A entities are related to multiple B entities

18
Q

optional entity

A

relationship may not occur for certain entities (O)

19
Q

lower cardinalities

A

minimum number of occurences

20
Q

upper cardinalities

A

maximum number of events

21
Q

unary/recursive relationships

A

relationships that an entity has with itself (film and sequel)

22
Q

tenary relationships

A

relationships between 3 entities

23
Q

N-ary relationships

A

number of entities that are connected through relationships can in theory be endless

24
Q

Data definition language

A

used to create, delete and modify databases and tables –> structure!

25
data manipulation language
used to receive, insert or change and remove rows --> content!
26
data control language
users- and content-management --> access (not important for the course)
27
relational database
data is organised in one (or more) related tables
28
entity relationship model
describes the relationship between physical or conceptual matters that are important for the preparation of the database
29
structured query language
default language to communicate with database systems