Question: Q 2 ) Consider the following relations for a database that keeps track of business trips of salespersons in a sales office: SALESPERSON ( Ssn

Q2) 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_no)
TRIP(Ssn, From_city, To_city, Departure_date, Return_date, Trip_id)
EXPENSE(Trip_id, Account#, Amount)
A trip can be charged to one or more accounts. Specify the foreign
keys for this schema, stating any assumptions you make.
Solution:
Open Microsoft 365(Office)
(N) viviates icicicinal micymily nevause Divuivi- allu urere is
no tuple in the DEPARTMENT relation with DNUMBER=2. We
may enforce the constraint by: (1) relecting the insertion of the
 Q2) Consider the following relations for a database that keeps track

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!