Database systems Flashcards

1
Q

Conceptual Data Model

A

Detailed, technical data models no database-specific information

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

Physical data model

A

Takes all constraints and properties of a relational database into account. Concrete structure can be created

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

Identifyer

A

objects in relationships must be uniquely identified at all times

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

Attributes

A

Concrete properties of entities are described as attributes. Each attribute has a name and a precisely-defined value range

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

Entity

A

Something separate and distinct that can be uniquely identified among other similar entities.

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

Subqueries

A
To formulate further SELECT statements within SELECT statements, Often used to formulate further conditions in the context of WHERE or Having. 
Schema:
MAIN QUERY
MAIN QUERY TABLE
filter condition WHERE
(Subquery
);
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ER-diagram

A

Used to display the all-important elements of a database structure. Only used to model database schemas. Elements: Entities, Attributes, Keys and Relationships

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

Normalization

A

Optimizes the structure of a database and the normal form of a database is a measure of this structure

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

Redundancy

A

The property of a dataset that describes that the deletion of data doesn’t necessarily result in a loss of information. For this, information must be saved more than once

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

First normal form

A

Conditions to be fulfilled:

  • All attributes must contain singe values. Composite values are not allowed
  • Each individual data record uniquely identified with primary key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Second normal form

A

Only relevant for tables with compound primary keys

  • Criteria first normal form must be met
  • Each non-key attribute is always dependent on the entire compound primary key and not just part of it
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Third Normal form

A

Criteria of the first normal form and in case of composite primary key, the second normal form must be fulfilled.
-Any non-key attribute depends directly on the key attributes that are not part of the Primary Key

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