Question
design some tables (giving table name and column names) that can hold items for an online shopping cart. The cart should indicate what from inventory
design some tables (giving table name and column names) that can hold items for an online shopping cart. The cart should indicate what from inventory is being ordered and the quantity and the customer. The inventory table should contain the number of items in stock, a description and the price. Customers should be identified by name and email address.
Write a SELECT statement that will print out all shopping cart items for a single customer in your tables from question above
Write an INSERT statement to insert a purchase of a quantity of 5 of some item from the inventory
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