Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

- - 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

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

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions

Question

What are your goals for this interview today?

Answered: 1 week ago

Question

Explain the use of the employment interview.

Answered: 1 week ago

Question

Identify environmental factors that affect the selection process.

Answered: 1 week ago