Recall & Review
beginner
What is a relational database?
A relational database is like a digital filing cabinet where data is stored in tables. Each table has rows (records) and columns (fields), and tables can be connected by common information.
Click to reveal answer
beginner
What is a table in a relational database?
A table is like a spreadsheet sheet with rows and columns. Each row is a record (one item), and each column is a field (a type of information about the item).
Click to reveal answer
beginner
What is a primary key?
A primary key is a unique ID for each row in a table. It helps find and connect data quickly, like a student ID number in a school.
Click to reveal answer
beginner
What does 'relational' mean in relational databases?
Relational means tables are linked by common fields. For example, a 'Students' table and a 'Classes' table can connect using a student ID to show which classes a student takes.
Click to reveal answer
beginner
How does a foreign key work?
A foreign key is a field in one table that points to the primary key in another table. It’s like a reference or a link between two tables.
Click to reveal answer
What is stored in the columns of a database table?
✗ Incorrect
Columns hold the types of information, called fields, like 'Name' or 'Age'.
What is the purpose of a primary key?
✗ Incorrect
The primary key uniquely identifies each row so you can find data easily.
How do tables in a relational database connect?
✗ Incorrect
Tables connect using foreign keys that reference primary keys in other tables.
Which of these is an example of a relational database?
✗ Incorrect
A spreadsheet with linked sheets is similar to tables connected in a relational database.
What does a foreign key do?
✗ Incorrect
A foreign key links one table to another by referring to a primary key.
Explain how tables in a relational database are connected and why this is useful.
Think about how a student ID can connect student info to their classes.
You got /5 concepts.
Describe what a primary key is and give a real-life example.
Consider something that uniquely identifies a person or item.
You got /4 concepts.