Relational databases

Easy
123456789101112131415161718192021222324252627282930313233343536373839
Question 28
Easy

A local library is transitioning its borrowing record system from a single flat-file spreadsheet to a relational database with three tables:

Librarian

StaffIDStaffNameShiftType
STF01Alex MercerMorning
STF02Beatrice VanceEvening

Book

BookIDTitleAuthor
B0091The Great GatsbyF. Scott Fitzgerald
B00921984George Orwell

Loan

LoanIDBookIDStaffIDReturnDate
L501B0091STF0112/11/2023
L502B0091STF0218/11/2023
L503B0092STF0119/11/2023

Which of the following statements correctly identifies a benefit of this relational database structure over the original flat-file spreadsheet?

It minimizes data redundancy by storing each book's author and title only once in the Book table, referencing them in the Loan table via the foreign key BookID, which also prevents potential data inconsistencies during updates.

It improves update speed because if a librarian's name changes, the DBMS requires the operator to manually find and update every corresponding row in both the Librarian and Loan tables.

It simplifies database administration by storing all attributes of librarians, books, and loans in a single flat table, removing the need for relational constraints.

It increases query performance by automatically duplicating the StaffID primary key as an attribute inside the Book table to link librarians directly to book titles.

Relational databases Questions

  1. GCSE
  2. /Computer Science
  3. /Relational databases