Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop a view named SUNNEE_PASTRY_V that includes the proper joins to produce the following result when all records are selected from the view:

  
  1. Develop a view named SUNNEE_PASTRY_V  that includes the proper joins to produce the following result when all records are selected from the view: 

 

 

Use the proper syntax so that even if the view exists, the create statement will still execute and not error.   

PK SUN CUSTOMER CUST_CODE CUST_BUSINESS_NAME CUST_AREA_CODE CUST_PHONE_NUM +--PLACES--+ SUN_ORDER PK ORDER NUM ORDER DATE PK PK FK CUST_CODE # CONTAINS- PK SUN_ORDER_LINE PK FK ORDER_NUM ORDER_LINE_NUM -APPEARS ON-+- FK PASTRY_CODE QUANTITY ORDERED SUN_RAW_MATERIAL RAW_MATERIAL_CODE RAW_MAT_NAME RAW MAT_QTY_PER_UNIT APPEARS ON- + RAW_MAT_UNIT RAW MAT_PRICE_P_UNIT RAW_MAT_STRG_INSTRUCT SUN_RECIPE_LINE PK FK RECIPE_CODE RECIPE_LINE_NUM PK FK RAW MATERIAL CODE RAW_MAT_AMOUNT RAW_MAT_AMT_UNIT RECIPE INGRED SPEC INST SUPPLIED BY SUN VEND_TO_RAW_MAT FK VENDOR_CODE PK FK RAW_MATERIAL_CODE + -SUPPLIES + PK SUN VENDOR VENDOR_CODE VENDOR_BUSINESS_NAME VENDOR_AREA_CODE VENDOR_PHONE_NUM + CONTAINS- + SUN_PASTRY PK PASTRY_CODE PASTRY_NAME PASTRY_DESC PASTRY_PRICE_PER_UNIT FK RECIPE_CODE PASTRY_BAKED DATE CREATES SUN_RECIPE RECIPE_CODE RECIPE_TITLE RECIPE_DESC RECIPE SPEC INSTRUCT

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Entrepreneurship

Authors: Andrew Zacharakis, William D Bygrave

5th Edition

1119563097, 9781119563099

More Books

Students also viewed these Databases questions

Question

What are the three basic industry categories?

Answered: 1 week ago

Question

Discuss centralisation and decentralisation in the context of PPC.

Answered: 1 week ago

Question

Discuss the various types of policies ?

Answered: 1 week ago

Question

Briefly explain the various types of leadership ?

Answered: 1 week ago

Question

Explain the need for and importance of co-ordination?

Answered: 1 week ago

Question

Explain the contribution of Peter F. Drucker to Management .

Answered: 1 week ago