I have the following table:
CREATE TABLE borrow ( borrowID INTEGER PRIMARY KEY, returned BOOLEAN NOT NULL CHECK (returned IN (0,1)), copyID INTEGER