Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2.5.1 D) Product(maker, model, type) PC(model, speed, ram, hd, price) Laptop(model, speed, ram, hd, screen, price) Printer(model, color, type, price) 1) Show the Tuples that

2.5.1

D)

Product(maker, model, type)

PC(model, speed, ram, hd, price)

Laptop(model, speed, ram, hd, screen, price)

Printer(model, color, type, price)

1) Show the Tuples that don't satisfy to the following constraint: A manufacturer of a PC must also make a laptop with at least as great a processor speed.

This is how far I got, with this constraint I get only B as answer. But im supposed to get B,C and D.

Select N.Maker From ((Select PR1.Maker,Min(PC.Speed) as Q1 From Product PR1 Inner Join PC On PR1.Model=PC.Model Group by PR1.Maker) as Q3,

(Select PR2.Maker, Max(Laptop.Speed) as Q2 From Product PR2 Inner Join Laptop On PR2.Model=Laptop.Model Group by PR2.Maker) as Q4) as N

Where Q3.Maker = Q4.Maker AND Q1 > Q2

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

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions

Question

What is the environment we are trying to create?

Answered: 1 week ago

Question

How would we like to see ourselves?

Answered: 1 week ago

Question

How can we visually describe our goals?

Answered: 1 week ago