jdbc_book
테이블 (3)
대여목록 (rental_book)
- rental_no (Key) — int — 기본 키 — NOT NULL — 시퀀스
- book_no (Key2) — int — 외래 키 → 책.book_no — NOT NULL
- member_no (Key4) — int — 외래 키 → 멤버.member_no — NOT NULL
- rental_date (Field3) — Date
- return_date (Field4) — Date
멤버 (member)
- member_no (Key) — int — 기본 키 — NOT NULL — 시퀀스
- member_id (Field) — String — NOT NULL
- member_pw (Field2) — String — NOT NULL
- member_name (Field3) — String — NOT NULL
- member_rank (Field4) — int — NOT NULL — [1.고객/2.직원]
책 (book)
- book_no (Key) — int — 기본 키 — NOT NULL — 시퀀스
- book_genre (Field) — String — NOT NULL
- book_name (Field2) — String — NOT NULL
- book_writer (Field3) — String — NOT NULL
- book_count (Field4) — int — NOT NULL