Relational Data Model: Lesson 3 Flashcards

1
Q

What is the advantage of a table?

A

It has structural and data independence

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

What is a group of related entities?

A

Entity set

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

What is the attributes specific range of values?

A

It is the attributes domain

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

What are the 2 important properties in a relational model?

A

Degrees and cardinality

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

What is a relational schema?

A

It is the textual representation of the database tables

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

What is the primary key?

A

It is an attribute that uniquely identifies any given entity(row)

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

What key is composed out of more than 1 attributes?

A

Composite key

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

What is a key attribute?

A

It is any attribute that is part of a key

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

A key that uniquely identifies each row is called what?

A

A superkey

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

What is a candidate key?

A

It is a superkey without redundancy

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

What is a foreign key?

A

An attribute whose values match primary key values in the related table

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

What is a foreign key used for?

A

To establish relationships between two tables

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

What is referential integrity?

A

FK contains a value that refers to an existing valid tuple (row) in another relation

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

What is a secondary key used for?

A

Key used strictly for data retrieval purposes

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

What is a data dictionary?

A

Provides detailed accounting of all tables found within the user/designer-created database

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

What does the data dictionary contain?

A
Contains all the attribute names and characteristics for each table in the system
Contains metadata (data about data)
17
Q

What is the index key used for?

A

Points the data location identified by the key

18
Q

What is a unique index?

A

Index in which the index key can have only one pointer value (row) associated with it