Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone please answer these questions. I rate if its the answer im looking for. Thank you in advance! 1. Consider the relation CLASS

image text in transcribed\

Can someone please answer these questions. I rate if its the answer im looking for. Thank you in advance!

1. Consider the relation CLASS (Course#, Section#, Instructor Name, Semester, Building Code, Room, Time Period, Weekdays, Credit. Hours). This represents the classes taught in a university. List as many candidate keys as you can and state the assumptions under which each candidate key would be valid. 2. Consider the following six relations for an order-processing database application in a company: CUSTOMER (Cust#, Cname, City) ORDER (Order#, Odate, Cust#, Ord. Amt) ORDER_ITEM (Order#, Item#, Qty) ITEM (Item#, Unit price) SHIPMENT (Order#, Warehouse#, Ship date) WAREHOUSE (Warehouse#, City) Here, Ord. Amt refers to total dollar amount of an order; Odate is the date the order was placed; Ship date is the date an order is shipped from the warehouse. Assume that an order can be shipped from several warehouses. Specify all the foreign keys and the relations they refer to, respectively. 3. Consider the following relations for a database that keeps track of business trips of salespersons in a sales office. SALESPERSON (SSN, Name, Start. Year, Dept.Ne) TRIP (SSN, From City, Te City, Departure Date, Return Date, Trip. D) EXPENSE (Trip. ID, Account#, Amount) Specify all the foreign keys and the relations they refer to respectively

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

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

Students also viewed these Databases questions

Question

2. What do you believe is at the root of the problem?

Answered: 1 week ago