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 to Expert-Tailored 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

Recommended Textbook for

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

Students also viewed these Databases questions

Question

Find f. f"(t) = 2e t + 3 sin t. f(0) = 0, f() = 0

Answered: 1 week ago

Question

2. Describe why we form relationships

Answered: 1 week ago

Question

5. Outline the predictable stages of most relationships

Answered: 1 week ago