How can the same book have two different titles in your school library's loan list?
You're helping out at a school library in Leeds. The same book shows up as The Iron Man on one loan record and The Iorn Man on another. How could fixing a spelling mistake leave you with two different titles?
A database is an organised collection of data. In this library table, each row is a record for one loan. Each column is a field. Its data type tells you what kind of value it holds. Loan ID uses integers, or whole numbers, and book ID uses text.
Watch three loans go into one flat table. Each has a different loan ID, but all three are for book B zero seven. The same misspelt title gets copied into every row. That unnecessary repetition is called redundancy.
In that flat table, you've got three separate loans for the same book. Which feature is an example of redundancy? Pick the option that shows the same fact being stored unnecessarily.
Start the linked design with a Books table. Each book has one record. Look at Book ID first. It's the primary key because it uniquely identifies each Books record. Next to B zero seven, you can see the one stored copy of its title, still with the spelling mistake.
In Loans, Loan ID is the primary key. It uniquely identifies each loan. Book ID is a foreign key because it refers to the primary key in Books. All three loans point to book B zero seven. A relational database stores data in tables that can be linked like this.
In the flat table, you fix loan thirty-one. Three minus one leaves two unchanged rows. Loans thirty-two and thirty-three still say The Iorn Man. Titles for the same book now disagree. That's inconsistency. In the linked design, you fix the title in Books once, and all three loans refer to it.
Another book has five loans, all with the same old title in the flat table. You correct one row. How many rows still show the old title, and how many edits would you need to correct the title in the linked design? Pick the pair.
Compare what gets repeated. A copied title repeats a fact about the book. A foreign key records which book each loan is for. Copying the title is unnecessary when Books already holds it. If you erase the repeated book IDs, those loan records lose their links.