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:
1. Create the Entity - Relationship Diagram & Schema Diagram using ERDPlus(3pts).
2. Create the Database Tables (3pts).
a. Order
b. Payment
c. Customer
d. Address
e. Order_datails
f. Menu
3. Define Relationships between tables (2pts).
4. Fill the 6 tables with 5 records for each.(3pts)
5. Write SQL queries to: (4pts)
a. To Display the order details (Order_id, Menu_id, Order_Quantity and
total_price) from the Order_details table for orders whose total price is more
than 200.
b. To Display customer details (Customer_ID, Customer_Name) and payment
details (Total_Amount, Payment_DateTime, Payment_method) from
Customers and Payment tables for all customers with the Name Omer.
c. To display the menu details (Menu_id and Menu_Price) from the Menu table
for menus with menu price more than 300 or menu price less than 1000.
d. To Display the order details and menu details from the Menu and
Order_Details 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 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!