databases Flashcards

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

describe what is meant by primary key

A

A primary key is a unique identifier for each record in the table in this case video id

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

relational database

A

.A relational database is a database which recognises the differences between entities by creating different tables for each entity

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

flat file database

A

flat file is a database that consists of a single file.The flat file will most likely be based around a singe entity and it’s attributes.flat file database written in the following way :
entity1(attribute1 , attibute 2)

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

foreign key

A

The attribute which links two tables together.The foreign key will exist in one table as the primary key and act as the foreign key in another

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

secondary key

A

allows a database to be searched quickly.

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

Referential integrity

A

Referential integrity means that 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