Databases and SQL Flashcards

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

what is a database?
what is a flat-file database?
what is a relational database?

A
  • a database is where you can store data in an organised way, allowing data to be found easier as well.
  • a flat-file database is where there is only one table to store data.
  • a relational database is where it has more than one table and linked using key feilds.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is data redundancy?

what is data inconsistency?

A
  • where data is repeated in a database table.

- links to data redundancy. if data is repeated, is it always the same data?

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

what is a table?
what is a field?
what is a record?

A
  • a collection of records for a specific theme.
  • categories for each piece of data in a table.
  • data for one object, person or place.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is a foreign key?

what is a primary key?

A
  • when a column in one table is the same to another in a different table.
  • the field that uniquely identifies a record
How well did you know this?
1
Not at all
2
3
4
5
Perfectly