Question: CREATE TABLE Author ( Aut _ id INT PRIMARY KEY, Name VARCHAR ( 2 5 5 ) NOT NULL ) ;CREATE TABLE Category ( Cat

CREATE TABLE Author ( Aut_id INT PRIMARY KEY, Name VARCHAR(255) NOT NULL);CREATE TABLE Category ( Cat_number INT PRIMARY KEY, Amount INT NOT NULL);CREATE TABLE Publisher ( Pub_id INT PRIMARY KEY, Name VARCHAR(255) NOT NULL, Address VARCHAR(255));CREATE TABLE Books ( ISBN INT PRIMARY KEY, Title VARCHAR(255) NOT NULL, Price DECIMAL(10,2), Borrowed_amount INT, Aut_id INT, FOREIGN KEY (Aut_id) REFERENCES Author(Aut_id));CREATE TABLE Member ( User_id INT PRIMARY KEY, Address VARCHAR(255), Phone VARCHAR(10), Mail VARCHAR(255));CREATE TABLE Personnel ( Per_id INT PRIMARY KEY, Name VARCHAR(255), Password VARCHAR(255));I am trying to create a table for Oracle Database with SQL based on the ER diagram here and this is my code. Do I have any shortcomings? If so, can you share the correct code?
ISSN Price Title Books Writes M M User id Address Brows NNN

 

ISSN Price Title Books Writes M M User id Address Brows NNN Mail Phone no (First name) 1 Member Name Se Borrowed by (Last name 7 Due date M R Retum date Controls Name Name Author Sorted N Ka A3 Published by per_id P N Aut_id N Password Personnel S Cat_number Category Amount Address Publisher Name Pub_id

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!