Perform the following operation in sql for insertion, updating and deletion using the referential integrity constraints

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Perform the following operation in sql for insertion, updating and deletion using the referential integrity constraints
Form 1
Title: The Joy of E-R Modelling Published_In 2013
ISBN: 939757
Author Id: AU505
Author Name : Moss
Author Id:
Author Name :
CopyNo C1034
Shelf Number C100
DateAcquired: 12-APR-16
Borrower Id
Borrower Name
Borrower Dept Loan Date
Return Date
A12
B34
Bloggs
Greenacre
CIS
02-OCT-16
13-OCT-16
Business
13-OCT-16
27-ОСТ-16
Form 2
Title: Normalisation is Fun and Easy Published_In 2010 ISBN: 549950
Author Id AU1911
Author Id AU505
Author Name :Bollinger
Author Name : Moss
CopyNo C2399
Shelf Number: C101 DateAcquired: 22-APR-2011
Borrower Id
Borrower Name
Borrower Dept Loan Date
Return Date
B34
Greenacre
Franks
Business
04-OCT-16
18-OCT-16
L67
Leisure
22-ОСТ-16
29-OCT-16
Form 3
Title: Normalisation is Fun and Easy Published_In 2010 ISBN: 549950
Author Id AU1911
Author Name : Bollinger
Author Id AU505
Author Name : Moss
CopyNo C2400
Shelf Number: C101 DateAcquired: 25-JUN-2011
Borrower Id
Borrower Name
Borrower Dept Loan Date
Return Date
25 ОСТ-16
Bloggs
Franks
CIS
04-OCT-16
L67
Leisure
02-SEP-16
09-SEP-16
Transcribed Image Text:Form 1 Title: The Joy of E-R Modelling Published_In 2013 ISBN: 939757 Author Id: AU505 Author Name : Moss Author Id: Author Name : CopyNo C1034 Shelf Number C100 DateAcquired: 12-APR-16 Borrower Id Borrower Name Borrower Dept Loan Date Return Date A12 B34 Bloggs Greenacre CIS 02-OCT-16 13-OCT-16 Business 13-OCT-16 27-ОСТ-16 Form 2 Title: Normalisation is Fun and Easy Published_In 2010 ISBN: 549950 Author Id AU1911 Author Id AU505 Author Name :Bollinger Author Name : Moss CopyNo C2399 Shelf Number: C101 DateAcquired: 22-APR-2011 Borrower Id Borrower Name Borrower Dept Loan Date Return Date B34 Greenacre Franks Business 04-OCT-16 18-OCT-16 L67 Leisure 22-ОСТ-16 29-OCT-16 Form 3 Title: Normalisation is Fun and Easy Published_In 2010 ISBN: 549950 Author Id AU1911 Author Name : Bollinger Author Id AU505 Author Name : Moss CopyNo C2400 Shelf Number: C101 DateAcquired: 25-JUN-2011 Borrower Id Borrower Name Borrower Dept Loan Date Return Date 25 ОСТ-16 Bloggs Franks CIS 04-OCT-16 L67 Leisure 02-SEP-16 09-SEP-16
Figure 2: List of Assumptions
The library acquires one or many copies of books, these are physical copies of a
i.
particular
publication.
A publication has a unique ISBN (an international code for all published works); a
title and
ii.
the date it was published.
Each copy has a unique copy number and has a particular shelf number to which it is
iii.
|located.
2 |3
A publication is always written by either one or two authors, and an author may
write many publications.
Only authors who have written at least one publication will be stored.
iv.
V.
vi.
A borrower may have more than one copy on loan at any time.
vii. A borrower may yet to take out a loan
viii. Over time a copy may be out on loan many times or it may never be loaned out.
ix
|A loan is made by a single borrower for one copy of a publication.
Transcribed Image Text:Figure 2: List of Assumptions The library acquires one or many copies of books, these are physical copies of a i. particular publication. A publication has a unique ISBN (an international code for all published works); a title and ii. the date it was published. Each copy has a unique copy number and has a particular shelf number to which it is iii. |located. 2 |3 A publication is always written by either one or two authors, and an author may write many publications. Only authors who have written at least one publication will be stored. iv. V. vi. A borrower may have more than one copy on loan at any time. vii. A borrower may yet to take out a loan viii. Over time a copy may be out on loan many times or it may never be loaned out. ix |A loan is made by a single borrower for one copy of a publication.
Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY