Question: SHOW SQL CODE WITH OUTPUT Question 7: 1. Consider the following table: Order_Detail Customer Orderno A001 A002 A003 A004 A005 Custno C003 C001 C005 C004

SHOW SQL CODE WITH OUTPUT

SHOW SQL CODE WITH OUTPUT Question 7: 1. Consider the following table:

Question 7: 1. Consider the following table: Order_Detail Customer Orderno A001 A002 A003 A004 A005 Custno C003 C001 C005 C004 C001 Item Qty Amount Burger 3 60 Pizza 2 300 Burger 5 100 Burger 5 100 Hot- 2 40 dog Custno C001 C002 C003 name Address city Phone George | NV Delhi 6199408 Ashok Arawali Delhi 6129400 Raman DB Delhi 6133888 Road James Puna Delhi 6144218 Patrick Bihar Delhi | 6111228 C004 C005 a) Write a query to display the number of customers who live in DELHI and have ordered for Burger. b) Write a query to display the details of the customer order whose name ends with 'k'. c) Write a procedure to get the Item as input and print the total quantity ordered

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!