Question: please complete using relational algebra OwnerId Pet Id Owner = No Id Name Species Age 1 Id Name Age Bones Cat 2 Big G Bear

 please complete using relational algebra OwnerId Pet Id Owner = No please complete using relational algebra

OwnerId Pet Id Owner = No Id Name Species Age 1 Id Name Age Bones Cat 2 Big G Bear 1 Pete Pets 3 Fluffy Bunny People = 2 Alice 29 4 Bones Dog 3 Juan 5 Goldie Fish 4 Dana 6 Fido Dog 1. (34 points) Write a query which gives the relation below. PetName Owner Name Fido Pete Big G Juan Bones Dana Bones Juan Goldie Pete Fluffy Alice 2. (33 points) Write a query which uses set intersection to give the names of all pet owners who own both a dog and a cat. (The query must always work, even if records are inserted or removed.) 3. (33 points) Write a query which has the same result as the query above but does not use set inter

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!