Professional Documents
Culture Documents
Liberary Management System - Presentation PDF
Liberary Management System - Presentation PDF
FACUILTY SUBMITTED BY
SAURABH SHARMA SIR ISHA (B.C.A)
DATANUTTS IT PRAGYA TIWARI (B.C.A)
SOLUTION RNTU
DATA REQUIREMENTS
ENTITIES
ATTRIBUTES
RELATIONSHIPS
INDEX ER DIAGRAM
QUERIES PERFORMED
THANK YOU
DATA ENTITIES
REQUIREMENTS
BOOK_DETAILS
BORROWER_DETAILS
STAFF_DETAILS
ISSUE_DETAILS
RETURN_DETAILS
DEPARTMENT
ATTRIBUTES
• CONTACT_NO
❑ BOOKS_DETAILS
MANAGES
ISSUES_DETAILS
AND
RETURN_DETAILS
(1-N)
RELATIONSHIPS
❑ BORROWER_DETAIL
S MANAGES
ISSUED_PERSONID
AND
RETURNED_PERSON
ID (1-N)
❑ DEPARTMENT
MANAGES
STAFF_DETAILS
(1-1)
BOOK_R BOOK_DETAILS ISSUE_DETAILS
NO ISSUE_NO
1-N ISSUED_D
AUTHOR
ATE
PRICE ISSUES_B
OOK_NO
1-N
BORROW RETURN_
ER_ID NO
BORROW 1-N
ER_NAM RETURNED
_PERSONID
E
REGISTRA
TION_DA RETURNED
_DATE
TE
STAFF_NA (1-1)
ME
DEPARTMENT
DEPART_
NAME
SALARY
STAFF_DETAIL
POSITION S MANAGER
_ID
STAFF_CO
NTACTNO
QUERIES
1. Write a query to find the Department id , Staff name and position from table.
2. Book name price between 300-500 from Book Details
3. All Book details where gender is female.
4. Find Issue No ,Issue Date, Borrower Name from table.
5. Find Issue No ,Borrower Name from table and replace null into 0
6. Find Author ,Book name and Issued book no from table
7. Select Staff name and Position from Staff Details
8. Convert all Department details into New table
9. Select max price from Book details as MAX PRICE
10. Find total book from Book Details
11. Find Book name and Author in same column together with gap between them
12. Find the first 5 letter of Book name from Book Details
13. Total Position from Staff details
14. Find Staff ID ,Staff Name ,Position where Position include 'H'
15. Min salary from staff details
THANK YOU