Add sample borrowing records
Now we can connect our students to books. Add:
sql
INSERT INTO borrow (
student_id,
book_id
) VALUES
(1, 2),
(2, 1),
(3, 3);
text
CLIFF AMADEUS → Jurassic Park
JAN XAVIER → Project Hail Mary
RON EDMUND → 1984
student_id and book_id.
MySQL automatically supplies:
text
borrow_id
borrow_date
borrow_return_date remains NULL.
That means all three books are currently considered borrowed.
Sign in to save your progress permanently.
Progress is saved in your browser session
Step 10 of 19