Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MANAGEMENT INFORMATION SYSTEMS IS SUBJECT WAS UNSURE WHERE TO PUT IT. 1. If a DBMS enforces a DELETE CASECADE OPTION on the referential integrity constraint

MANAGEMENT INFORMATION SYSTEMS IS SUBJECT WAS UNSURE WHERE TO PUT IT.

image text in transcribed

1. If a DBMS enforces a DELETE CASECADE OPTION on the referential integrity constraint between SALES_REP and TERRITORY show the records in tables SALES_REP and TERRITORY after a user tries to delete the first record (1, Joe,E) from SALES_REP.

2. Display the ProductID, ProductName, ProductPrice, VendorName for all procuts. Sort the results by Product ID. (WRITE SQL queries that accompish this task.)

It's request that we write the query twice once by JOIN and once by SUBQUERY. This is what i wrote i'm not sure if it classifies for subquery or join but here it is.

SELECT ProductID, ProductName, ProductPrice,

FROM Product p, Category c,

WHERE p.CategoryID= c.CategoryID

AND c.CategoryName= Camping

ORDER BY ProductID;

Help on these two problems would be greatly appreciated :)

SALES REP TERRITORY SRIDSRName TerID TerID TerName oe Sue Meg Bob Joe Pat Lee Joe East West South North Central 3 5 8

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_2

Step: 3

blur-text-image_3

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

Advances In Knowledge Discovery In Databases

Authors: Animesh Adhikari, Jhimli Adhikari

1st Edition

3319132121, 9783319132129

More Books

Students also viewed these Databases questions

Question

The concept of price elasticity of demand measures the what

Answered: 1 week ago