0 votes
137 views
in DataBase Management System by (98.9k points)
edited
Draw an E-R diagram of Library Management System.

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer

 



                                            +--------+
                                            |  Book  |
                                            +--------+
                                            | BookID |
                                            | Title  |
                                            | Author |
                                            | ISBN   |
                                            +--------+
                                                  |
                                                  |
                                                  |
                              +-------------------+----------------------+
                              |                                          |
                              |                                          |
                         +--------+                                +--------+
                         |  Copy  |                                |  Member  |
                         +--------+                                +--------+
                         | CopyID |                                | MemberID |
                         | Status |                                | Name    |
                         | BookID |                                | Address |
                         +--------+                                | Phone   |
                              |                                    +--------+
                              |                                          |
                              |                                          |
    +-------------------+     |      +--------------+      +-------------------+
    |                   |     |      |              |      |                   |
    |  Borrow Transaction |     |      |  Return      |      |   Reserve         |
    |                   |     |      |  Transaction |      |  Transaction      |
    +-------------------+     |      |  Transaction |      |                   |
    | BorrowTransactionID|     |      | ReturnTransID|      | ReserveTransaction|
    | CopyID            |<----+      | CopyID       |<-----| MemberID          |
    | MemberID          |            | MemberID     |      | CopyID            |
    | DateBorrowed      |            | DateReturned|      | DateReserved      |
    | DueDate           |            +--------------+      | DateNeeded        |
    | DateReturned      |                                   +-------------------+
    +-------------------+



Related questions

0 votes
1 answer 80 views
0 votes
1 answer 94 views
0 votes
1 answer 111 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

535 users

...