Library Management Schema
Medium
Schema Design
Design tables for a library: books, members and loans. A member can borrow many books over time and a book can be borrowed by many members. Write the CREATE TABLE statements with keys and constraints.
Table schema
Entities: Book(title, isbn), Member(name, email), Loan(book, member, loan_date, return_date)Sample data
A member can have many loans and a book appears in many loans.
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.