Database System for Library Management s

April 3, 2018 | Author: Ace_Eboy | Category: Table (Database), Data, Information Technology, Information Science, Databases


Comments



Description

Database System ofLIBRARY MANAGEMENT SYSTEM Semester Project Report Department of Computer Science& Information Technology University of Sargodha Project Advisor Sir Hafiz Fasial Project Members Muhammad Azhar Javaid(183) Muhammad Ramzan (126) Abdussamad (154) Class BSITF13 4th (SS3) Submission Date 19june 2015 PROJECT NAME Data Base of LIBRARY MANMAGMENT SYSTEM in SQL SERVER 2012 BSIT 4th ss3 fb.com/studentsworkstation IT Dep UOS Page 1 Database System of LIBRARY MANAGEMENT SYSTEM GOURP MEMEBERS NAME & CONTACT NO (1)Muhammad AZhar Javaid CELL NO# 03127400558 ROLL NO# BITE183 (2) Muhammad Ramzan CELL NO# 03008136225 Roll No # BiTE126 (3) Abdusamad Cell no 03075408811 Roll No # BiTE154 BSIT 4th ss3 fb.com/studentsworkstation IT Dep UOS Page 2 Database System of LIBRARY MANAGEMENT SYSTEM ACKNOWLEDGEMENT “IN THE NAME OF ALLAH WHO IS THE MOST BENIFICAL MERCIFUL AND COMPASSIONATE” First of all we will thanks to ALMIGHTY ALLAH who gave us the strength, power, wisdom and complete the project. Secondly we would like to thank our subject SIR HAFIZ FAISAL He guides us in each and every step of this project BSIT 4th ss3 fb.com/studentsworkstation IT Dep UOS Page 3 Database System of LIBRARY MANAGEMENT SYSTEM DEDICATION “To our beloved PARENTS” & “Mr.com/studentsworkstation IT Dep UOS Page 4 . Hafiz Faisal” BSIT 4th ss3 fb. ) Students search books by racks it so time consuming And there is no arrangement.Database System of LIBRARY MANAGEMENT SYSTEM Project Title:Database system for Library Management system Project Overview Statement As You Know that a Library is collection of books in any institute . Case study Current system: All the Transaction(books issues & books returned) are manualy recorded(registars.com/studentsworkstation IT Dep UOS Page 5 . BSIT 4th ss3 fb.Librarian resposibilty is to manage all the records of books issued and also returned on Manualy. Project Aim and Objective The project aim and objective are: To eliminate the paper –work in library -to record every transaction in computerized system so that problem such as record file missing won’t happen again Backgroud of Project Library Management system is an application refer to other library system and is suitable to use by small and medium size libray . It is use by librarian and libray admin to manage the library using a computerized system . BSIT 4th ss3 fb. The system was designed to help librain record every book transcation so that the problem such as file missing will not happened again.Database System of LIBRARY MANAGEMENT SYSTEM Also threat of losing recorde.com/studentsworkstation IT Dep UOS Page 6 . 1 Database : Microsoft Sql server 2012 Hardware Processor : Dual core or core i3 BSIT 4th ss3 fb. window 8.Database System of LIBRARY MANAGEMENT SYSTEM Development Enivornment Operating system: windows 7.com/studentsworkstation IT Dep UOS Page 7 . student_address) 3. book_id) 6. Return (return_id. expiry_date. staff_phone) 4. studentname. student (student_id. issue_date. Issue (issue_id. department (department_id. Staff (staff_id. 1. isuue_date. ISBN. branch_name) 5. BOOKAUTHOR and bookedition) 2.bookName. staff_address. expiry_date. staff_name. book_name. staff_gender.Database System of LIBRARY MANAGEMENT SYSTEM Ram : upto 2Gb Design view The library has the following tables in its database. book_id) BSIT 4th ss3 fb. student_email.com/studentsworkstation IT Dep UOS Page 8 . Books (book_id. First Normal Form Given table is converted to its 1NF as follows.com/studentsworkstation IT Dep UOS Page 9 . Now we'll take the table above and design new tables that will eliminate the repeted date in non key _field BSIT 4th ss3 fb. which must be re-joined or linked each time a query is issued. 2 nd Normal Form nd 2 normal form A table is in first normal form and each non-key field is functionally dependent upon primary key. and scalability.Database System of LIBRARY MANAGEMENT SYSTEM NORAMALIZATION OF TABLE Why Normalization: Database normalization is the process of removing redundant data from your tables in order to improve storage efficiency. • Step number 2: create separate table for each group of related data and identify each row with unique column (primary key). • STEP NUMBER 1: elimination of duplicative columns from table 1. Normalization generally involves splitting existing tables into multiple ones. data integrity. Normalization of Tables in Database ISSue_id Book_id Student_id 1122 110.com/studentsworkstation IT Dep UOS Page 10 . 8. BSIT 4th ss3 fb. Create a table for those fields and enter the sample data.320 bitE183 8. Think about what the primary key for each table would be and about the relationship between the tables.4 3rd Normal Form Third normal form (3NF) requires that there are no functional dependencies of non-key attributes on something other than a candidate key.5 Normalization of Tables In the ISSUE Table there is repating book_id .120.Database System of LIBRARY MANAGEMENT SYSTEM To decide what fields belong together in a table. A student has issued 3 books. A table is in 3NF if all of the non primary-key attributes are mutually independent There should not be transitive depeinces. think about which field determines the values in other fields. Mark the primary key for each table and make sure that you do not have repeated data in non-key fields. com/studentsworkstation IT Dep UOS Page 11 .Database System of LIBRARY MANAGEMENT SYSTEM After first Normalization ISSUE_ID book_id Student_id 1122 110 bitE183 1122 320 bitE183 1122 120 bitE183 Second normalized Form: In the following Student relation all attributes are dependent on the primary key StudID Student_id Name Depid Issue_date Expairy_date Phone BITf13E183 Azhar 20 17-6-15 312 1-7-15 7400558 We can create two other relations from Student Table one is Department fields are fully dependent on the primary keys DEp_id BSIT 4th ss3 fb. com/studentsworkstation IT Dep UOS Page 12 .LIBRARY MANAGEMENT SYSTEM Database System of DEp_id Dep_name 11 CS & IT Department 22 Education Department 33 Economics Department 44 Laaw Department Student_id Name Issue_date Expairy_date Phone BITf13E183 Azhar 15-6-15 1-7-15 3127400558 Before third normal form Staff_id Name Genda r Designation Address City state cell 1101 M Librarian House no 12 street 6 Sargodha punjab 3001234567 BSIT 4th ss3 Shaid fb. com/studentsworkstation City State Phone IT Dep UOS Dep_id Page 13 .Database System of LIBRARY MANAGEMENT SYSTEM 1345 Riaz m Data entery Statilete town Sargodha Punjab 03461234567 2264 Arshad m Naib qaisd Raza garden Sargodha Punjab 03331234567 After 3rd Normalization Staff table Staff_id Name Gender Staff conatact Staff_id Address City State Telephone cell STUDENT Table before Third normalized Form : Std_id BSIT 4th ss3 Name Gender Address fb. com/studentsworkstation IT Dep UOS Page 14 .Database System of LIBRARY MANAGEMENT SYSTEM After third normal Student_id Dep_id Department IT-113 C-26 Cs & IT Lm-456 L-11 Law Eng-98 E-41 ENGLISH Studentcontact table: Student_id Address City State Phone IT-111 Statlite twon Sargodha Punjab 312-1234567 Cs-786 Sahiwal sargoda punjab 300-1234567 Student table: BSIT 4th ss3 fb. com/studentsworkstation IT Dep UOS Page 15 .Database System of Student_id Name LIBRARY MANAGEMENT SYSTEM Gender studentDepartment Normalization End ARCHITECTURE OF TABLES IN SQL SEERVER 2012 AND RECORD FIRST TABLE IS BOOK Design view BSIT 4th ss3 fb. Database System of LIBRARY MANAGEMENT SYSTEM Records 2nd table Issues Design view BSIT 4th ss3 fb.com/studentsworkstation IT Dep UOS Page 16 . com/studentsworkstation IT Dep UOS Page 17 .Database System of LIBRARY MANAGEMENT SYSTEM Student _id is forigen key in book table Record BSIT 4th ss3 fb. com/studentsworkstation IT Dep UOS Page 18 .Database System of LIBRARY MANAGEMENT SYSTEM 3rd table student Design view Dep_id is forign key in student table BSIT 4th ss3 fb. com/studentsworkstation IT Dep UOS Page 19 .Database System of LIBRARY MANAGEMENT SYSTEM Record view Student contact Design view BSIT 4th ss3 fb. com/studentsworkstation IT Dep UOS Page 20 .Database System of LIBRARY MANAGEMENT SYSTEM Record Department table Design view Here student_id is forigen key BSIT 4th ss3 fb. Database System of LIBRARY MANAGEMENT SYSTEM Record view BSIT 4th ss3 fb.com/studentsworkstation IT Dep UOS Page 21 . issue_id.student_id are forigen keys Record view BSIT 4th ss3 fb. staff_id .Database System of LIBRARY MANAGEMENT SYSTEM Return table Here book_id.com/studentsworkstation IT Dep UOS Page 22 . com/studentsworkstation IT Dep UOS Page 23 .Database System of LIBRARY MANAGEMENT SYSTEM Staff table Design view Deg_id is forigen key Record view BSIT 4th ss3 fb. com/studentsworkstation IT Dep UOS Page 24 .Database System of LIBRARY MANAGEMENT SYSTEM Staff deginations table Design view Staff_id is forigen key Record view BSIT 4th ss3 fb. com/studentsworkstation IT Dep UOS Page 25 .Database System of LIBRARY MANAGEMENT SYSTEM Staff contact table Design view Record view BSIT 4th ss3 fb. Database System of LIBRARY MANAGEMENT SYSTEM ER Diagram in visio BSIT 4th ss3 fb.com/studentsworkstation IT Dep UOS Page 26 . com/studentsworkstation ISSUES (STATUS) issue_date expairy_date std_id issue_id BSIT 4th ss3 issue_id book name IT Dep UOS Page 27 .Database System of LIBRARY MANAGEMENT SYSTEM Have Contains book_id ISBN Books book edition book author Rack_no book name Staff Gender staff name Address Phone STAFF Staff_ID DG_id Desgination ISSUE dep_no std_name std_id Date_issue Department From STUDENT Issue address Dep_name Date_expairy Std_depno std_mail std_id return_id book_id RETURN (STATUS) issue_date sataff_id expairy_id book_id fb. com/studentsworkstation IT Dep UOS Page 28 .Database System of LIBRARY MANAGEMENT SYSTEM ISSUES Books PK book_id PK book name book_id ISBN book name book edition Rack_no student_id date_issue date_expairy authorname STUDENT RETURN PK student_id PK return _id student_name book_id issue-date expairy -date student_dep dep_no issue_id student_id student contact STAFF PK PK ISSUE_ID staff_id std_id address streeet state staff-name phone staff-gender E-mail contact_no designation designation _id DEPARTMENT staff contact PK PK dep_no staff_id dep_name address street state E-mail contact_no BSIT 4th ss3 fb. com/studentsworkstation Author name IT Dep UOS Rack_no Page 29 .Database System of LIBRARY MANAGEMENT SYSTEM Relational Model of ERD Staff contact Staff_id Address City State Phone Staff Staff_id Name Desgination Gender Designation Designation_id Designation Student contact Student_id Address City State phone Student Sttudent_id Name Gender Student_dep Department Dep_id Department name Book Book_id BSIT 4th ss3 Isbn Book_name Edition fb. Database System of LIBRARY MANAGEMENT SYSTEM ISSUEs Issue_id Book_name Book_id Stud_id Issue_date Expairy_date RETURN Return_id Book_id Issues_date BSIT 4th ss3 fb.com/studentsworkstation Retuen_date IT Dep UOS Page 30 . In case of error/ mistakes plz informe me Regard M Azhar…… BSIT 4th ss3 fb.com/studentsworkstation IT Dep UOS Page 31 .Database System of LIBRARY MANAGEMENT SYSTEM Entity Relationship Model in SQL SERVER 2012 I hv tried to eliminate error & mistakes but There would be some error or mistakes in project.
Copyright © 2024 DOKUMEN.SITE Inc.