Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QuestionIn the relational tables below, we see three tables of a veterinary system, all providing unique information on a specific dog. Based on these instances,

QuestionIn the relational tables below, we see three tables of a veterinary system, all providing unique information on a specific dog. Based on these instances, answer the following questions: Food Type Good Boy Y 1573 Dry 2684 WetN TABLE BBio Measure HeightWeight 3795157315214806 Dry Y Wet TABLE CCare_Info 9737952713048061573 TABLE A: Pet Info Name BreedColor FidoBeagle Brown/White Rex Pekingese White Bubbles RottweilerBlack Age 268437954806 Cujo Chihuahua Gold Write the DDL statement for creating table B, make sure that the statement maintains referential integrity. Get the hight , weight and age of the dog named " Rex". 3. For each food type that the dogs have, find the average age of the dogs that have each food type . Retrieve a list of distinct breads in the system . By using Nesting Query, get the Tag# and names of the dogs that are good. Change the age of the dog number 3795" to be 6 years old. Delete column Good_Boy" from table

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

MFDBS 91 3rd Symposium On Mathematical Fundamentals Of Database And Knowledge Base Systems Rostock Germany May 6 9 1991

Authors: Bernhard Thalheim ,Janos Demetrovics ,Hans-Detlef Gerhardt

1991st Edition

3540540091, 978-3540540090

More Books

Students also viewed these Databases questions

Question

please try to give correct answer 6 6 3 . .

Answered: 1 week ago