Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i created library DataBase so insert values into this table * i want the query CREATE TABLE Loan ( Loan_number INT NOT NULL, Lo_Type VARCHAR
i created library DataBase
so insert values into this table
* i want the query
CREATE TABLE Loan ( Loan_number INT NOT NULL, Lo_Type VARCHAR (20) NOT NULL, DateLoanded VARCHAR (20), DueDate DATE, Ino INT NOT NULL, MID VARCHAR(10) NOT NULL, PRIMARY KEY (Loan_number), FOREIGN KEY (Ino) REFERENCES LibraryItems(L_number), FOREIGN KEY (MID) REFERENCES Members(ID)) Table created. CREATE TABLE Fine ( F_number INT NOT NULL, Amount INT NOT NULL, F_Type VARCHAR (10), Lno int NOT NULL, PRIMARY KEY (F_number), FOREIGN KEY (Lno) REFERENCES Loan (Loan_number) )Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started