Databases and SQL Flashcards

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

What is a database

A

a persistent store of organised data

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

What is a Table

A

A collection of records for a specific theme

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

What is a field

A

Categories for each piece of data in a table

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

What is a record

A

data for one object, person or place

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

what is a primary key

A

a unique identifier for each record

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

What is data redundancy

A

Where data in repeated in a table and makes it unnecessarily larger than it needs to be.

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

What is data inconsistency

A

It leads from data redundancy as the repeated data will be inconsistent and not the same.

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

What is a flat-file database

A

a database that consists of one table

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

What is a relational database and why is it efficient

A

Because it uses multiple tables which cancels out data redundancy and data inconsistency.

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

what does it mean that data in a database is ‘organised’

A

It means that the data is structured into fields, records and tables

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

Why might the primary key for one table, not be the same primary key in another table?

A

Because both tables are different and every primary key for every table needs to be unique and different

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

what is a foreign Key

A

It links a primary key from one table to the other table with the foreign key in a relational database

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