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

1. A PC with a processor speed less than 3.

00 must not sell for more than $800


σ speed < 3.00 AND price > 800(PC) = 0
2. A laptop with a screen size less than 15.4 inches must have at least a 120GB
hard disk or sell for less than $1000
σ screen<15.4 AND hd< 120 AND price≥1000(Laptop)= Ø
3. If a laptop has a larger RAM than a PC, then the laptop must also have a higher
price than the PC
Π model (σ Laptop.ram > PC.ram AND Laptop.price≤PC.price(PCxLaptop))= Ø
4. No manufacturer of PC’s may also make printers
σ pc.maker=printer.maker (PC ⋈ PRINTER) = ∅

5. No manufacturer of PC’s may also make printers


Πmaker(σ type=PC(Product)) ∩ Πmaker(σ type=Printer(Product))= Ø
6.
σpc1.model>pc2.model and pc1.price<pc2.price (PC1 ⋈ PC2) = ∅
σpc1.model=pc2.model and pc1.speed>pc2.speed and pc1.hdd>pc2.hdd and
pc1.ram>pc2.ram and pc1.price<pc2.price(PC1 ⋈ PC2) = ∅

You might also like