Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions