erDiagram Books { int book_id PK varchar name date available_from } Orders { int order_id PK int book_id FK int quantity date dispatch_date }