Relational Database Flashcards

1
Q

3 components of Relational Database

A

Data Structure
Data Manipulation
Data Integrity

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

Columns/fields

A

Attributes

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

Rows/tuples

A

Records

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

Data organized in the form of tables, rows and columns

A

Data Structure

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

Manipulate data in the relation usually through SQL

A

Data Manipulation

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

Facilities are included to specify business rules that maintain the integrity of data

A

Data Integrity

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

Relational Keys

A

Primary Key
Composite key
Foreign Key

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

Serves as a unique identifier for a particular record

A

Primary Key

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

Primary key that consists of more than one attributes

A

Composite Key

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

Attribute or fields that is used to refer to data contained in another relation (reference key).

A

Foreign Key

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

True or False:

Not all tables are relations

A

True

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

Logical structure of a database

A

Schema

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

Set of valid atomic values for a given attribute or field

A

Domain

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

An empty value

A

Null

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

Rules that apply to a particular relation

A

Specific Integrity Rules

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

Rules that apply to all relations

A

General Integrity Rules

17
Q

Field that can possibly be
used as the primary key for the relation

A

Candidate Key

18
Q

2 requirements of Entity Integrity Rule

A

Uniqueness requirement
Minimality requirement

19
Q

“NO COMPONENT OF THE PRIMARY KEY OF
A BASE RELATION IS ALLOWED TO ACCEPT
NULLS”

The primary key cannot accept an empty value

A

Entity Integrity Rule

20
Q

True or False:

The primary key can accept null values

A

False

21
Q

Name the requirement:

No two tuples must have
the same value for the said field

A

Uniqueness requirement

22
Q

Name the requirement:

If the candidate key is
composite, then no field or any of its components can
be eliminated without affecting its uniqueness property

A

Minimality Requirement

23
Q

Rule expressing constraints/control of
organizational actions (business rule)

A

Action Assertion

24
Q

A relation whose tuples or records are
physically stored in a database

A

Base Relation

25
Q

“THE RELATIONS IN A DATABASE MUST NOT CONTAIN UNMATCHED
FOREIGN KEYS”

A

Referential Integrity Rule