대학 온라인 도서관 시스템

테이블 (3)

Book (Untitled2)

  • isbn (Key) — 기본 키 — NOT NULL
  • title (Field)
  • year (Field2)
  • price (Field3)

User (Untitled)

  • Id (Key) — Not null — 기본 키 — NOT NULL
  • name (Key2) — Not null — 기본 키 — NOT NULL
  • id (PK) — 외래 키 → book_rentals.id — NOT NULL
  • isbn (Key3) — 외래 키 — NOT NULL
  • adress (Field) — Not null
  • phone (Field2) — Not null
  • department (Field3) — Not null
  • email (Field4) — Unique

book_rentals (Untitled3)

  • id (PK) — 기본 키 — NOT NULL
  • user_id (FK)
  • rentalDate (Field) — Not null
  • returnDate (Field2) — Not null
  • Field3