Question: Write a class that connects to theCoffeeDBdatabase and allows the user to insert a new row into theCustomertable. Write a method that connects to

Write a class that connects to the CoffeeDB database and allows the user to insert a new row into the Customer table.

 

Write a method that connects to the CoffeeDB database and allows the user to select a customer, then change any of that customer's information. (You should not attempt to change the customer number because it is referenced by the UnpaidOrder table.)

 

Write a method that connects to the CoffeeDB database and displays a list of customers with unpaid orders. The user should be able to select a customer from the list and see a summary of all the unpaid orders for that customer.

 

Create a main program that implements the class above and calls each of its methods to access the database.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To achieve the tasks youve outlined you can use a programming language that supports database connectivity Below is an example using Python with the s... View full answer

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