Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This exercise is from my Discrete Mathematic Class under Chapter 5 Relations and Database EXERCISES 5.3 Exercises 1-4 refer to the Person, Pet, and Petowner

This exercise is from my Discrete Mathematic Class under Chapter 5 "Relations and Database"

image text in transcribed

EXERCISES 5.3 Exercises 1-4 refer to the Person, Pet, and Petowner relations of Examples 20 and 22 1. Consider the following operation: Restrict Pet where PetType "Cat" giving Kitties a. Write a query in English that would result in the information contained in Kitties. b. What is the cardinality of the relation obtained by performing this operation? c. Write an SQL query to obtain this information. 2. Consider the following operation: Project Person over (Name, City, State) giving Census a. Write a query in English that would result in the information contained in Census. b. What is the degree of the relation obtained by performing this operation? c. Write an SQL query to obtain this information

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_2

Step: 3

blur-text-image_3

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

Build It For The Real World A Database Workbook

Authors: Wilson, Susan, Hoferek, Mary J.

1st Edition

0073197599, 9780073197593

More Books

Students also viewed these Databases questions

Question

Write down the circumstances in which you led.

Answered: 1 week ago