4.2 Database Concepts Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Simplest form of database

A

Flat file consisting of information about a single entity

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

Entities

A

Type of object in a database, which contain certain attributes

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

Primary key

A
  • A unique identifier, and one should be introduced
  • Automatically indexed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Composite primary key

A

A key is composite if 2 or more keys are needed uniquely define a record

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

Secondary key

A

Fields where searches could used (for example title)

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

Different types of relationships

A
  • One to one
  • One to many
  • Many to many
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

One to one

A

Where an entity has a single relationship to another relationship

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

One to many

A

An entity has many relations to other entities

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

Many to many relationships

A

When a several entities have several relations with other entities

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

Foreign keys

A

An attribute that creates a join between two tables which are usually primary keys in other tables

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

Referential integrity

A

No foreign key in one table can reference a non-existent record in a related table

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

Link tables

A

Contain foreign keys of which they come from other tables for primary keys

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