Question

Instructions When writing a query, write the query in a way that it would work over all possible database instances and not jQuestion 69 Points) Write a relational algebra expression that returns the customer names that always change drivers (never t

Please do Question 9 only with JUST the Alegbra in one expression, thanks. I know how sql works, just confused on how to write the expressions

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Q9.

For the resultant query, we need to join the relation Customer and User.

The common attribute between the two is userName. Thus the join condition would be

Cutomer.userName = User.userName

Use projection operator to project only the Customer Name, user Name and password.

The query is

\pi_{Customer.CutomerName, Customer.userName, User.Password}(Customer \bowtie_{Customer.userName = User.userName}USER)

If you have any questions comment down and please? upvote thanks...

Add a comment
Know the answer?
Add Answer to:
Please do Question 9 only with JUST the Alegbra in one expression, thanks. I know how...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT