Question: Its a code written in Java using JavaFX that creates a different menus, a menu bar and also will show result sets and row sets

Its a code written in Java using JavaFX that creates a different menus, a menu bar and also will show result sets and row sets using scrollable views (each number listed describes what the query must do).

Create a JavaFX program to allow a user to query the Northwind database. You should be able to perform the following functionality using the program:

1. Print order total (not including the freight cost) for a given order number

The program will ask the user for an order number, and then print out the total for all products in the order, taking into account quantities and discounts. (All computations should be done within the SQL query).

2. Print all order details for a given order number

The program will ask the user for an order number, and then print the order date, freight charge, and all products and their quantity, unit price, and discount for the order.

3. Print the names and cities of all customers in a given state

The program will ask the user for a state, and then print out the names and cities of all customers in this state in order by city.

4. Print the names of all employees who have a birthday in a given year

The program will ask the user for a year, and then print out the first and last names (in alphabetical order by last name) of all employees who were born during that year.

Does that answer your question?

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!