You are on page 1of 8

Information Systems

Assignment-2

Library DBMS

Submitted by – Piyush Daga

Course – PGDM-1

To –Prof. Sudhi Rao

1 MYRA School of Business


Tables-
Book Table-

Category Price Availability Edition


Marketing 1089 Yes 14
Accounting 819 Yes 7, 6
Economics 918 Yes 9

Users Table-
Name Number Book Issued
Pankaj 7879595959 Marketing, economics
Ruchi 9770595757 Accounting
Ayush 9098079635 Economics

Transaction Table-

Due Amount Issue Date Return Date


70 1/07/2017 22/07/2017
0 3/07/2017 18/07/2017
90 9/07/2017 1/08/2017

Publisher Table-
Name State
B.Jain Maharashtra
Penguin India Chhattisgarh
Rupa & Co. Madhya Pradesh

2 MYRA School of Business


ER Diagram-

3 MYRA School of Business


1NF-

Book Table-

Category Price Availability Edition


Marketing 1089 Yes 14
Accounting 819 Yes 7
Accounting 819 Yes 6
Economics 918 Yes 9

Users Table-
Name Number Book Issued
Pankaj 7879595959 Marketing
Pankaj 7879595959 Economics
Ruchi 9770595757 Accounting
Ayush 9098079635 Economics

4 MYRA School of Business


2NF-

Book Table-

Category Price Availability


Marketing 1089 Yes
Accounting 819 Yes
Accounting 819 Yes
Economics 918 Yes

Category Edition
Marketing 14
Accounting 7
Accounting 6
Economics 9

Users Table-

Name Number
Pankaj 7879595959
Pankaj 7879595959
Ruchi 9770595757
Ayush 9098079635

Name Book Issued


Pankaj Marketing
Pankaj Economics
Ruchi Accounting
Ayush Economics

5 MYRA School of Business


3NF-

Book Table-

Book ID (Primary Key) Category Price Availability


MYRA00189 Marketing 1089 Yes
MYRA00918 Accounting 819 Yes
MYRA00189 Accounting 819 Yes
MYRA00900 Economics 918 Yes

Book Details-
Category ID (Primary Book ID (Foreign Key) Category Edition
ID)
1234 MYRA00189 Marketing 14
3456 MYRA00918 Accounting 7
5678 MYRA00189 Accounting 6
6789 MYRA00900 Economics 9

Users Table-
Users ID (Primary Key) Name Number
PGDM-2019-05 Pankaj 7879595959
PGDM-2019-05 Pankaj 7879595959
PGDM-2019-06 Ruchi 9770595757
PGDM-2019-18 Ayush 9098079635

Users Detail-

Category (Primary Users ID (Foreign Key) Name Book Issued


Key)
1098 PGDM-2019-05 Pankaj Marketing
2760 PGDM-2019-05 Pankaj Economics
3476 PGDM-2019-06 Ruchi Accounting
5690 PGDM-2019-18 Ayush Economics

6 MYRA School of Business


Publisher Table-
Publisher ID (Primary Book ID (Foreign Name State
Key) Key)
PU0045 MYRA00189 B.Jain Maharashtra
PU0054 MYRA00918 Penguin India Chhattisgarh
PU0063 MYRA00900 Rupa & Co. Madhya Pradesh
Transaction Table-
Transaction ID Users ID Due Amount Issue Date Return Date
(Primary Key) (Foreign Key)
18 PGDM-2019- 70 1/07/2017 22/07/2017
05
27 PGDM-2019- 0 3/07/2017 18/07/2017
06
36 PGDM-2019- 90 9/07/2017 1/08/2017
18
ER Diagram-

7 MYRA School of Business


ER Diagram made in erdplus.com

8 MYRA School of Business

You might also like