Databases Flashcards

1
Q

A database

A

A database is a (large) collection of data item and link between them, structured in a way that allows it to be accessed by a number of different application programs

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

Table

A

A table is a flat file where data is converted into rows and columns

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

Record

A

A record is a collection of data items which may be of different data types, all relating to the individual or object that the record describes. Records are represented by a row in a table.

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

Field

A

A field is part of a record designed to hold a single data item specified type. Fields are represented by a column in a table

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

Primary key

A

A primary key is a field that uniquely identifies an individual record in a table

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

Foreign key

A

When the primary key from one table appears as a field in a second table, it is known as a foreign key of the second table. This forms a connection between tables

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

Composite key

A

A composite key is a key that consists of 2 or more fields

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