Answer To: There are a number of publicly funded libraries in the Greater Sydney region. The objective of this...
Shikha answered on Oct 03 2021
/******************
Comp2350/6350 2020 Assignment 2
Student ID
Student Name
Date
The content below is the named student’s own work.
*******************/
Book (BookID, BookTitle, Author, Publisher, PubYear, BookStatus, BookPrice, LibBranchID*)
Member (MemberID, MemberName, MemberAddress, MemberExpDate)
BookIssue (BookIssueID, DateBorrowed, DateReturned, ReturnDueDate , BookID*, MemberID*)
/** TASK 4 **/
/*** Code for creating the tables **/
Create table Library (LibBranchID varchar(5) Not Null Primary key,
BranchSuburb varchar(30));
Create Table Book (BookID varchar(5) Not null Primary key,
BookTitle varchar (30),
Author varchar(30),
Publisher varchar(30),
PubYear Int,
BookStatus varchar(10),
BookPrice decimal(7,2),
LibBranchID varchar(5) references Library(LibBranchID));
Create Table Member (MemberID Int Not Null Auto_Increment Primary key,
MemberName varchar(30),
MemberAddress varchar(30),
MemberExpDate Date);
Create Table BookIssue (BookIssueID Int Not Null Auto_Increment Primary key,
DateBorrowed Date,...