Design a tiny library database:
books โ book_id INTEGER PRIMARY KEY, title VARCHAR NOT NULL, isbn VARCHAR UNIQUE, copies INTEGER DEFAULT 1 (never negative)members โ member_id INTEGER PRIMARY KEY, name VARCHAR NOT NULLloans โ loan_id INTEGER PRIMARY KEY, book_id and member_id (both required, both foreign keys), issued_on DATE NOT NULL, returned_on DATE that, when present, is not before issued_onThis question starts with an empty database.
Run your code to see the output here.