Professional Documents
Culture Documents
DMS C Final
DMS C Final
2023-24
AFFILIATED TO
M.S.B.T.E.
Evolution sheet for Micro Project
Name and
Signatur MS. ASMA TAMBOLI
e of
faculty
MAULANA AZAD POLYTECHNIC ,
SOLAPUR
CERTIFICATE
is a bonafide work carried out by above students, under the guidance of MS. ASMA
TAMBOLI and it is submitted towards the fulfillment of requirement of MSBTE, Mumbai
for the award of Diploma Computer Engineering at MAULANA AZAD POLYTECHNIC ,
SOLAPUR during the academic year 2023-2024.
Solapur
Date:
ACKNOWLEDGEMENTS
Place: MAP
Date:
TABLE OF CONTENTS
Content Pg. No
1 Introduction 1
2 Data types 2
3 Data Requirements 3
• Entities
• Attributes
• Relationships - cardinality
5 Schema Diagram 6
7 Test-case Queries
8 Conclusion
1. INTRODUCTION
Library Management System allows the user to store the book details and the
customer details. The system is strong enough to withstand regressive yearly
operations under conditions where the database is maintained and cleared over a
certain time of span. The implementation of the system in the organization will
considerably reduce data entry, time and also provide readily calculated reports.
OBJECTIVE: - It keeps track of all the information about the books in the
library, their cost, status and total number of books available in the Library. The
user will find it easy in this automated system rather than using the manual
writing system. The system contains a database where all the information will be
stored safely.
3. Data Requirements
Entities
• BRANCH
• EMPLOYEE
• CUSTOMER
• ISSUE STATUS
• RETURN STATUS
• BOOKS
Attributes
BRANCH
Manager_id
Branch_id
Address
Contact_no
Branch_h_no
Street
City
State
Zipcode CUSTOMER
Customer_id
Books_issued
Name
Address
Registration_date
ISSUE STATUS
Issue_book_name
Issue_id
Issue_date
ISBN
Customer_id
RETURN STATUS
Return_id
Return_date
Customer_id
Return_book_name
ISBN
BOOKS
ISBN
Title
Category
Rental_price
Author
Publisher
Status
RELATIONSHIPS - CARDINALITY
4. Entity-Relationship-DIAGRAM
changed
values(995,'emp5','assist',20000);
Query OK, 1 row affected (0.07 sec) mysql> insert into branch
values(3,993,'branch_addr3',987654323);
Query OK, 1 row affected (0.07 sec) mysql> insert into customer
values(14,'cus4','hom4','2009:04:04');
values(52,14,'book4','2010:01:01',1004);
Query OK, 1 row affected (0.08 sec) mysql> insert into return_status
values(62,13,'book1','2010:10:01',1001);
ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint
fails (`libproject`.`return_status`, CONSTRAINT `return_status_ibfk_2`
FOREIGN KEY (`return_cust`) REFERENCES `issue_status` (`issued_cust`))
7. TEST QUERIES
1. Display the customer name who took the book of type comedy.
Mysql>select customer_name from customer where
book_type=’comedy’;
Mysql>describe customer;
8. CONCLUSION
• Though SQL doesn’t have the GUI interface like Microsoft access is
having and they all manage the database comfortable.
• This project shows how to create tables in SQL and how to create
simple data manipulation language and data definition language with how
to execute them.
• Lastly, the project shows how queries are created in SQL server,
queries like the create command, view, update, alter etc.