practice1

Tables (3)

Account (계좌)

  • 계좌 번호 (accont_id) — NOT NULL — Primary key
  • 고객ID (customer_id) — NOT NULL — Foreign key → Customer.고객ID
  • 잔액 (balance) — NOT NULL
  • 계좌상태 (status) — NOT NULL
  • 생성일 (created_at) — NOT NULL

Account_Auth (계좌 보안)

  • 계좌 번호 (accont_id) — NOT NULL — Foreign key → Account.계좌 번호
  • 비밀번호 (password) — NOT NULL
  • 실패 횟수 (fail_count) — NOT NULL
  • 잠금 시간 (lock_until) — NOT NULL

Customer (고객)

  • 고객ID (customer_id) — NOT NULL — Primary key
  • 이름 (name) — NOT NULL
  • 생년월일 (birth) — NOT NULL