Chapter 2: Relational model Flashcards

1
Q

def: attribute domain

A

set of allowed values of each attribute

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

def: atomic attribute

A

indivisible

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

def: null value

A

unknown

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

relations are unordered: true or false

A

true

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

def: database schema

A

logical structure of the database

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

def: database instance

A

snapshot of data at given instant in time

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

def: superkey

A

sufficient to identify a unique tuple of each relations

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

def: candidate key

A

if it is a superkey and is minimal

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

def: primary key

A

uniquely identifies tuple chose from candidate key

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

key: foreign key

A

value in one relation must appear in another relation

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

‘pure’ languages (3)

A
  • relational algebra
  • tuple relational calculus
  • domain relational calculus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

def: relational-algebra expression

A

composition of relational algebra operations

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

relational algebra operations (6)

A
  • select
  • project
  • union
  • set difference
  • cartesian product
  • rename
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

def: arity

A

same number of attributes

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

def: compatible

A

columns dealing with the same type of values

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