Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

1. What types of product made by manufacturer A?

R1 = π type  σ maker = 'A' (Product) 


2. What PC models have a speed of at least 3.00?

R 2 = π model σspeed >= 3.00 (Product) 
3. What types of product made by both manufacturers A and D?
R 3 = π type  σ maker = 'A'  σ maker = 'D' (Product) 
4. What types of product made by manufacturer A but not by
manufacturer D?
R 4 = π type  σ maker = 'A' (Product)  - π type  σ maker = 'D' (Product) 
5. Which manufacturers make laptops with a hard disk of at least
100GB?
R 5 = π maker  Product   (σ hd  100 (Laptop)) 
6. Find the model numbers and price of all products (of any
type) made by manufacturer B?
R1= π model, price  PC 
R2= π model, price  Laptop 
R3= π model, price  Printer 
R 6 = π model, price  σ maker = 'B' (Product ><(R1UR2UR3)) 
7. Find the model number of all color laser printers?
R 7 = π model  σ color = 'true' AND type = 'laser' (Printer) 
8. Find those manufacturers that sell Laptops, but not PC’s.
R 8 = π maker  σ type = 'laptop' (Product)  - π maker  σ type = 'pc' (Product) 
9. Find those hard-disk sizes that occur in two or more PC’s.
ρ PC1  PC 
ρ PC2  PC 
R9 = π hd (σ PC1.hd = PC2.hd AND PC1.model < > PC2.model  PC1xPC2)

You might also like