0
0
Intro to Computingfundamentals~5 mins

Relational database basics in Intro to Computing - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
ATypes of information (fields)
BIndividual records
CLinks between tables
DDatabase software
What is the purpose of a primary key?
ATo sort data alphabetically
BTo uniquely identify each row
CTo connect to the internet
DTo store multiple tables
How do tables in a relational database connect?
ABy having the same number of rows
BBy sharing the same software
CBy storing images
DUsing foreign keys
Which of these is an example of a relational database?
AA spreadsheet with multiple sheets linked by IDs
BA single text document
CA photo album
DA video player
What does a foreign key do?
ACreates a new table
BDeletes data
CLinks one table to another
DEncrypts data
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.