Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer CLEARLY and LEGIBLE Relational Algebra Exercise 1: Consider the following relational database which consists of the 4 following relations: Product(maker, makerName, model, type)

image text in transcribed
Please answer CLEARLY and LEGIBLE
Relational Algebra
Exercise 1: Consider the following relational database which consists of the 4 following relations: Product(maker, makerName, model, type) Example: Product M001' 'PrintAll', 'Pr001', 'printer'), Product( M001', "PrintAll', 'Pr002, 'printer') PC( model, speed, ram, hd, price). Example PC (pcoo1, 4.6', 9MB', 2GB'; 800') Laptop(model, speed, ram, hd, screen, price). Example Laptop(1001', "2.5', 2MB', 4GB', '15in', '280') Printer(model, color, type, price). Example Printer('Pr0o1", 'Col'; Laser' 360) We assume for convenience that model numbers are unique over all manufacturers an product types. -Product relation gives the manufacturer (maker), model and type (PC, Laptop, printer). -PC relation gives for each model number the speed of the processor(in gigahertz), the amount of RAM(in megabytes) and the size of the hard disk (in gigabytes), and the price. -Laptop relation is similar to PC, except that the screen size is also included. -Printer relation records for each printer model whether the printer produces color output or not, the process type (laser or ink-jet), and the price. 1) Define a suitable schema for each relation, and show relationships between relations. 2) Write relational algebra for each of following queries and draw the guery trees: a. PC models have a speed of at least 3.00 b. The model numbers of all printers c. The model numbers of color printers d. Manufacturers who make laptops with at least 100 GB e. The number of printers manufactured by manufacturer "PrintAl

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

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions

Question

Describe the Indian constitution and political system.

Answered: 1 week ago

Question

What impresses you the most?

Answered: 1 week ago

Question

Before May 7 1999 they wouldnt have minded either.

Answered: 1 week ago

Question

As a matter of fact she has seen the figures.

Answered: 1 week ago

Question

Your analysis however does not account for returns.

Answered: 1 week ago