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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
Write a fragment of code that reads in strings from standard input, until end-of-file and prints to standard output the largest value. you may assume there is at least one value. (cascading/streaming logic, basic string processing)
Answers: 3
question
Computers and Technology, 23.06.2019 23:30
Match the following errors with their definitions. a. #name b. #value c. #ref d. 1. when a formula produces output that is too lengthy to fit in the spreadsheet cell 2. when you enter an invalid cell reference in a formula 3. when you type text in cells that accept numeric data 4. when you type in a cell reference that doesn’t exist
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Write a program that asks the user to enter the name of an input file. if the file does not exist, the program should prompt the user to enter the file name again. if the user types quit in any uppercase/lowercase combinations, then the program should exit without any further output.
Answers: 3
You know the right answer?
Consider the following relational database which consists of the 4 following relations: Product(make...
Questions
question
Chemistry, 08.07.2019 06:00
Questions on the website: 13722360