Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Following is the relational schema and I want to write queries using Relational algebra to answer the following question: Please make sure the queries are

Following is the relational schema and I want to write queries using Relational algebra to answer the following question:

Please make sure the queries are in Relational algebra. I cannot stress this enough DO NOT USE SQL, USE RELATIONAL ALGEBRA.

Relational schema of question

1. Product(model, maker, type)

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

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

Printer(model, color, type, price)

1. List the models and prices of all Laptop's with the most expensive first.

2. List the model and price of the Laptops with more than 512 KB RAM and faster than 1.60.

3. List all manufacturers who make PCs.

4. List the model and manufacturer of all Laptops costing less than $ 1,000.

5. List the names and models of the manufacturers who make PCs and laptops with speeds greater than 2. 6) Which manufacturers make PCs, but not printers?

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

Bioinformatics Databases And Systems

Authors: Stanley I. Letovsky

1st Edition

1475784058, 978-1475784053

More Books

Students also viewed these Databases questions

Question

Influences on Nonverbal Communication?

Answered: 1 week ago