Database Management Flashcards

Section 8

1
Q

Database

A

A repository of information and a collection of tables that are related to each other

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

What are the rows and columns of the table called

A

rows are data records and columns are data fields

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

What is attribute and which aspect of the table stores it

A

These are the facts known about an entity (fields)

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

What is an entity and which aspect of the table stores it

A

This is anything you want to store information about (records)

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

What is a record

A

Gives information about a single entity (sometimes called a tuple)

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

What is a field

A

Stored a single piece of information

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

What are three characteristics of a field

A

Has a name, has a size, has a data type

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

What are the three main types of fields

A

Numeric, Text and Logical

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

State 4 reasons why data bases are useful

A

Standardisation, Fast retrieval, Large Size, Multiple views

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

List 6 types of keys

A

Primary, Alternate, Composite, Candidate, Secondary, Foreign

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

Describe the foreign key

A

Used to link different tables in a relational database. A column in one database that references the primary key of another table

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

Primary key

A

Often a code number: Used to uniquely identify every record in the database

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

Alternate key

A

keys that could be used for the same purpose

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

A table should…

A

hold information about only 1 type of entity

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

Each piece of information…

A

should be stored only once in the database

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

Secondary Key

A

A column or a set of columns within a table that can be used to search and retrieve data based on criteria other than the primary key

17
Q

Candidate Key

A

A set of one or more columns that can uniquely identify each row in a table