Designing a Database and Relational Schema

Designing a Database and Relational Schema

(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:

Pet and Toys Database Final Design

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’ pets.

Priscilla also likes to add supplier data to her database. Each PetFood item is supplied by just one FoodSupplier (but a supplier can supply many food items). A Toy can be supplied by multiple ToySuppliers. A ToySupplier can supply many Toys.
Extend the design to include Veterinarians, PetSuppliers, and ToySuppliers.

If you have the MS PowerPoint application, you can use the Pets MS PowerPoint Presentation and add your constructs there.

"Is this question part of your assignment? We can help"

ORDER NOW