Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

Question

JavaFX program 

Create a JavaFX GUI that allows the user to retrieve records from the product table in the example database. 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 below

 

--
Table structure for table `product
CREATE TABLE IF NOT EXISTS `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),
('35542C', '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);
/*140101 SET
*/;
CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT
CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*140101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*140101 SET
expand button
Transcribed Image Text:-- Table structure for table `product CREATE TABLE IF NOT EXISTS `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), ('35542C', '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); /*140101 SET */; CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*140101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*140101 SET
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Computer Science
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
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education