Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For problems 11-20, give a relational algebra expression to find the requested information from the relations defined below Author(aid: int, name: string, dob : date)

image text in transcribedimage text in transcribed

For problems 11-20, give a relational algebra expression to find the requested information from the relations defined below Author(aid: int, name: string, dob : date) . Book(bid: int, title: string, aid: int, price: real) Foreign key: aid references Author . Customer(cid: in, name: string) Purchase(cid: int, bid: int, when : date) - Foreign keys: cid references Customer, bid references Book 11. The name of every author over 50 12. The name of every author who is also a customer 13. The title of every book written by Margaret Atwood 14. The name of every customer who has bought a book for $20.00 or more 15. The title of every book that has never been purchased 16. The book title and date for every time a book was purchased on its author's 50th birthday 17. The name of every customer who has bought a book written by Hermann Hesse 18. The name of every customer who has bought at least two different books written by Hermann Hesse 18. The name of every customer who has bought at least two different books written by Hermann Hesse 19. The name of every customer who has bought all of the books written by ffernann lesse 20. The name of every author who has never purchased one of their own books

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

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions

Question

Another name for trend analysis is horizontal analysis

Answered: 1 week ago