Question: Solve the following, according to the previous Database: 1 . Create the Entity - Relationship Diagram & Schema Diagram using ERDPlus ( 3 pts )
Solve the following, according to the previous Database:
Create the Entity Relationship Diagram & Schema Diagram using ERDPluspts
Create the Database Tables pts
a Order
b Payment
c Customer
d Address
e Orderdatails
f Menu
Define Relationships between tables pts
Fill the tables with records for each.pts
Write SQL queries to: pts
a To Display the order details Orderid Menuid OrderQuantity and
totalprice from the Orderdetails table for orders whose total price is more
than
b To Display customer details CustomerID CustomerName and payment
details TotalAmount, PaymentDateTime, Paymentmethod from
Customers and Payment tables for all customers with the Name Omer
c To display the menu details Menuid and MenuPrice from the Menu table
for menus with menu price more than or menu price less than
d To Display the order details and menu details from the Menu and
OrderDetails tables.
e To display details of orderss and addresses from the orders and addresses
tables for all orders for the city of Jenin
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
