Question: - - Create the Stock table CREATE TABLE Stock ( Stock _ ID NUMBER PRIMARY KEY, Stock _ Type VARCHAR 2 ( 5 0 )

-- Create the Stock table
CREATE TABLE Stock (
Stock_ID NUMBER PRIMARY KEY,
Stock_Type VARCHAR2(50) NOT NULL,
Stock_Model VARCHAR2(50) NOT NULL,
Manufacturer VARCHAR2(50) NOT NULL
);
-- Create the Customer table
CREATE TABLE Customer (
Cust_ID VARCHAR2(10) PRIMARY KEY,
Cust_FName VARCHAR2(50) NOT NULL,
Cust_SName VARCHAR2(50) NOT NULL,
Cust_Address VARCHAR2(100) NOT NULL,
Cust_Contact VARCHAR2(20) NOT NULL
); -- Create the Sales table
CREATE TABLE Sales (
Sales_Num NUMBER PRIMARY KEY,
Sales_Date DATE NOT NULL,
Sales_Amt NUMBER NOT NULL,
Stock_ID NUMBER,
Cust_ID VARCHAR2(10),
Repair_ID NUMBER,
FOREIGN KEY (Stock_ID) REFERENCES Stock(Stock_ID),
FOREIGN KEY (Cust_ID) REFERENCES Customer(Cust_ID),
FOREIGN KEY (Repair_ID) REFERENCES Repairs(Repair_ID)
); Question TASK: Create GUI
Management of IT Gear Dealer require an external program that will provide a graphical user
interface to display the results for the following stored procedures and functions you have
created:
sp_customer_details
func_IT_Gear
At this moment, you are not required to link the GUI to the database. You are allowed to use
any programming language and integrated development environment to achieve this
functionality.

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 Databases Questions!