The error is saying that the
bid
column with value
cs02
does not exists in the
Borrower
table. If you look at the
Borrows
table again,
foreign key (bid) references Borrower(bid)
it clearly stated that the
bid
column should reference the
bid
in
Borrower
table. Hope that helps. If not, please ask.
Note: I'm assuming
cs02
but it could be
c201
in your case.