Question: write sql statement based on the attached ERD. List the supplier ID, food description, and total quantity (Hint: Use SUM) for each supplied food item.

write sql statement based on the attached ERD.List the supplier ID, food description, and total quantity (Hint: Use SUM) for each supplied food item. If ERD FOOD PF supplier_id P product_code menu_item description price price_upcharge FOOD SUPPLIER R supplier_id 

List the supplier ID, food description, and total quantity (Hint: Use SUM) for each supplied food item. If the food item has never been purchased, still list the supplier ID and description. Group by supplier ID and description. Sort by Description. A) Use LEFT JOIN The relationship includes a composite primary key connection in the FROM clause. 35 rows selected

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Given the ERD you want to list the supplier ID food description and total quantity even if the food item has never been purchased To achieve this you ... View full answer

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!