there is five tables (Pet, PetOwner, IdTag, PetFood, and Toy). (a) Find the name
ID: 3653474 • Letter: T
Question
there is five tables (Pet, PetOwner, IdTag, PetFood, and Toy). (a) Find the names of pets owned by anyone whose first name is John. Note: Use the SELECT command. (b) As there is a many-to-many relationship (between Pet and Toy) that cannot be expressed in a Relational database, an additional table (PetToy) was introduced that links the two tables. Thus, the final design is: Priscilla is interested in providing additional services to her customers, as well as having a better control on her toys and food suppliers. For additional services, she wants to add to the database the names of veterinary doctors in the neighborhood. Each customer could choose the vet he or she wants to work with, and that vet will treat all the customers
Explanation / Answer
Select Pet from Pet where PetOwner = 'John'.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.