Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Database Systems Provide working SQL DML statements for the following database schema and queries EXERCISE CUSTOMER ID, Type, Firstname, Lastname, Address, City) INVENTORY(ID, ItemName, Type,
Database Systems
Provide working SQL DML statements for the following database schema and queries EXERCISE CUSTOMER ID, Type, Firstname, Lastname, Address, City) INVENTORY(ID, ItemName, Type, MadeInStore, SupplierName, DailyAverageSold, Price) ORDERS (D, customer-FI, Item-FK, Quantity, DeliveryDate) 16. Find the total amount due for each order, where the total is at least $70 Show: order id, lastname, and total-amount Hint: variation of previous query 17. Find the total amount due for each order placed by a customer that is a restaurant owner, total is at least $70 and the number of different item types (not the units) is less than 3 - Show: order id, lastname, and total-amount, number of different types of items in the order Hint: variation of previous queryStep 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