Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions