subject
Computers and Technology, 30.12.2020 20:50 soogy

Consider the following relational database which consists of the 4 following relations: Product(maker, model, type) PC(model, speed, ram, hd, price) Laptop(model, speed, ram, hd. screen, price) Printer(model. color, type, price) The Product relation gives the manufacturer, model and type (PC, Laptop, or printer). We assume for convenience that model numbers are unique over all manufacturers and product types. The 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. The Laptop relation is similar, except that the scorch size is also included. The 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.
2) Draw the Crow foot representation of your database.
3) Write expressions of relational algebra for the following queries and draw the query trees for each:
a. What PC models have a speed of at least 3. 00
b. What the model numbers of all color printers
c. Which manufacturer make laptops with at least 100 GB
d. Find the model and price of all products (of any type) made by manufacturer "B"
e. Find the manufacturers that sell laptops but not PC.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 01:30, solikhalifeoy3j1r
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
image
Computers and Technology, 23.06.2019 02:00, kayladgranger
Which demographic challenge is europe currently experiencing? a. an aging and decreasing population b. a baby boomc. an unequal distribution between males and females d. a large group of teenagers moving through the school system(i chose a but i'm unsure)
Answers: 1
image
Computers and Technology, 23.06.2019 14:30, kodak0531
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
image
Computers and Technology, 23.06.2019 17:00, osirisarellane3792
*! 20 points! *jeff wants to create a website with interactive and dynamic content. which programming language will he use? a. dhtml b. html c. css d. javascript
Answers: 1
You know the right answer?
Consider the following relational database which consists of the 4 following relations: Product(make...

Questions in other subjects:

Konu
Mathematics, 19.11.2020 15:00