FX program  Create a JavaFX GUI that allows the user to retrieve records from the product table picture attached. The GUI should allow the user to specify desired fields, desired order, and a where condition. Display only the desired fields in the desired order for the desired where condition. You may display the records in the GUI in any way you wish.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

JavaFX program 

Create a JavaFX GUI that allows the user to retrieve records from the product table picture attached. The GUI should allow the user to specify desired fields, desired order, and a where condition. Display only the desired fields in the desired order for the desired where condition.
You may display the records in the GUI in any way you wish.

-- Table structure for table product
CREATE TABLE IF NOT EXISTSs product (
*vin char(6) NOT NULL,
*make varchar(16) NOT NULL,
*model varchar(16) NOT NULL,
"year int(4) NOT NULL,
*color varchar(12) NOT NULL,
*price decimal(9,2) NOT NULL,
PRIMARY KEY (`vin`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- Dumping data for table product
INSERT INTO `product (`vin', `make`, `model`, `year`, `color`, `price`) VALUES
('12345A', 'Chevrolet', 'Volt', 2013, 'silver', 34000.00),
('22222V', 'Chevrolet', 'Malibu', 2013, 'red', 24000.00),
('355420', 'Cadillac', 'Escalade', 2012, 'black', 72000.00),
('49879X', 'Buick', 'Lacrosse', 2013, 'white', 38000.00),
('58932H', 'Chevrolet', 'Camaro SS', 2012, 'yellow', 33000.00),
('60842G', 'Buick', 'Enclave', 2013, 'silver', 42000.00),
('77776M', 'Cadillac', 'CTS-V Coupe', 2013, 'blue', 40000.00),
('88789T', 'GMC', 'Terrain', 2012, 'red', 31000.00),
('90201K', 'Bugatti', 'Veyron', 2013, 'red', 1900000.00),
('99090P', 'Chevrolet', 'Spark', 2013, 'green', 14000.00);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Transcribed Image Text:-- Table structure for table product CREATE TABLE IF NOT EXISTSs product ( *vin char(6) NOT NULL, *make varchar(16) NOT NULL, *model varchar(16) NOT NULL, "year int(4) NOT NULL, *color varchar(12) NOT NULL, *price decimal(9,2) NOT NULL, PRIMARY KEY (`vin`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- Dumping data for table product INSERT INTO `product (`vin', `make`, `model`, `year`, `color`, `price`) VALUES ('12345A', 'Chevrolet', 'Volt', 2013, 'silver', 34000.00), ('22222V', 'Chevrolet', 'Malibu', 2013, 'red', 24000.00), ('355420', 'Cadillac', 'Escalade', 2012, 'black', 72000.00), ('49879X', 'Buick', 'Lacrosse', 2013, 'white', 38000.00), ('58932H', 'Chevrolet', 'Camaro SS', 2012, 'yellow', 33000.00), ('60842G', 'Buick', 'Enclave', 2013, 'silver', 42000.00), ('77776M', 'Cadillac', 'CTS-V Coupe', 2013, 'blue', 40000.00), ('88789T', 'GMC', 'Terrain', 2012, 'red', 31000.00), ('90201K', 'Bugatti', 'Veyron', 2013, 'red', 1900000.00), ('99090P', 'Chevrolet', 'Spark', 2013, 'green', 14000.00); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education