I an trying to convert database schema into Database in ORACLE SQL
Books (BookID,PubID,Title,Author,Price,Availability)
Publisher (PubID,Name,Address,BookID)
Member (MemberID,Name,Address,MemberType,MemberDate,ExpiryDate)
Barrowings (MemberID,BookID,IssuedDate,ReturnDate,DueDate)
I have done first 3 tables. But i have a problem with the 4th table (Borrowings)
(MemberID,BookID,IssueDate) I want to make first 2 columns (MemberID,BookID) as a composite foreign key (Should refere 2 different tables)
MemberID referes the MemberID colimn in Member table BookID referes the BookID table in Books table. IssiedDate column is the primary key of that table How to make a composite foreign key in ORACLE SQL