Question
I need this answer in python. Assignment 1) Write a program that creates a Database called Sales. The program should then go on to create
I need this answer in python.
Assignment 1) Write a program that creates a Database called Sales. The program should then go on to create three tables as follows:
Customer(customerid INTEGER, fname TEXT, lname TEXT, phone TEXT) Order (orderid INTEGER, customerid INTEGER, order_date TEXT) OrderDetails (orderid INTEGER, order_item TEXT, quantity INTEGER, price_per_item REAL)
Prompt the user to insert records into these tables. The the entered records print a report showing:
Customer Name, Order Number, Ordered Items, Items Price
at the bottom of this report, print the Grand Total for all orders.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started