maker model type A 1001 pc A 1002 pc A 1003 pc A 2004 laptop A...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
maker model type A 1001 pc A 1002 pc A 1003 pc A 2004 laptop A 2005 laptop A 2006 laptop B 1004 pc B 1005 pc B 1006 pc B 2007 laptop C 1007 pc D 1008 pc D 1009 pc D 1010 pc D 3004 printer D 3005 printer E 1011 pc E 1012 pc E 1013 pc E 2001 laptop E 2002 laptop E 2003 laptop E 3001 printer E 3002 printer E 3003 printer F 2008 laptop F 2009 laptop G 2010 laptop H 3006 printer H 3007 printer Figure 2.20: Sample data for Product model speed ram hd price 1001 2.66 1024 250 2114 1002 1003 2.10 512 250 1.42 512 995 80 478 1004 2.80 1024 250 649 1005 3.20 512 250 630 1006 3.06 3.20 1024 320 1049 1007 2.20 1024 200 510 1008 2.20 2048 250 770 1009 2.00 1024 250 1010 2.80 2048 300 1011 1.86 2048 160 1012 2.80 1024 160 1013 650 770 959 649 512 80 529 (a) Sample data for relation PC model speed ram hd screen price 2001 2.00 2048 240 20.1 3673 2002 1.73 1024 80 17.0 949 2003 1.80 512 60 15.4 549 2004 2.00 512 2005 2.16 1024 120 2006 2.00 2048 80 60 13.3 1150 17.0 2500 15.4 1700 2007 1.83 1024 120 2008 1.60 1024 100 15.4 2009 1.60 512 80 14.1 2010 2.00 2048 160 15.4 13.3 1429 900 680 2300 (b) Sample data for relation Laptop model color type price 3001 true ink-jet 99 3002 false 3003 true 3004 true 3005 false 3006 true laser 239 laser 899 ink-jet 120 laser 120 ink-jet 100 3007 true laser 200 (c) Sample data for relation Printer Figure 2.21: Sample data for relations of Exercise 2.4.1 !g) Find those pairs of PC modeis that have both the same speed and RAM. A pair should be listed only once; e.g., list (i, j) but not (j, i). !! h) Find those manufacturers of at least two different computers (PC's or laptops) with speeds of at least 2.80. !! i) Find the manufacturer(s) of the computer (PC or laptop) with the highest available speed. !! j) Find the manufacturers of PC's with at least three different speeds. !! k) Find the manufacturers who sell exactly three different models of PC. maker model type A 1001 pc A 1002 pc A 1003 pc A 2004 laptop A 2005 laptop A 2006 laptop B 1004 pc B 1005 pc B 1006 pc B 2007 laptop C 1007 pc D 1008 pc D 1009 pc D 1010 pc D 3004 printer D 3005 printer E 1011 pc E 1012 pc E 1013 pc E 2001 laptop E 2002 laptop E 2003 laptop E 3001 printer E 3002 printer E 3003 printer F 2008 laptop F 2009 laptop G 2010 laptop H 3006 printer H 3007 printer Figure 2.20: Sample data for Product model speed ram hd price 1001 2.66 1024 250 2114 1002 1003 2.10 512 250 1.42 512 995 80 478 1004 2.80 1024 250 649 1005 3.20 512 250 630 1006 3.06 3.20 1024 320 1049 1007 2.20 1024 200 510 1008 2.20 2048 250 770 1009 2.00 1024 250 1010 2.80 2048 300 1011 1.86 2048 160 1012 2.80 1024 160 1013 650 770 959 649 512 80 529 (a) Sample data for relation PC model speed ram hd screen price 2001 2.00 2048 240 20.1 3673 2002 1.73 1024 80 17.0 949 2003 1.80 512 60 15.4 549 2004 2.00 512 2005 2.16 1024 120 2006 2.00 2048 80 60 13.3 1150 17.0 2500 15.4 1700 2007 1.83 1024 120 2008 1.60 1024 100 15.4 2009 1.60 512 80 14.1 2010 2.00 2048 160 15.4 13.3 1429 900 680 2300 (b) Sample data for relation Laptop model color type price 3001 true ink-jet 99 3002 false 3003 true 3004 true 3005 false 3006 true laser 239 laser 899 ink-jet 120 laser 120 ink-jet 100 3007 true laser 200 (c) Sample data for relation Printer Figure 2.21: Sample data for relations of Exercise 2.4.1 !g) Find those pairs of PC modeis that have both the same speed and RAM. A pair should be listed only once; e.g., list (i, j) but not (j, i). !! h) Find those manufacturers of at least two different computers (PC's or laptops) with speeds of at least 2.80. !! i) Find the manufacturer(s) of the computer (PC or laptop) with the highest available speed. !! j) Find the manufacturers of PC's with at least three different speeds. !! k) Find the manufacturers who sell exactly three different models of PC.
Expert Answer:
Answer rating: 100% (QA)
First create database create database Productdetail Use that created database use Productdetail create table Product create table Product maker varchar100 model int type varchar100 Insert value in Pro... View the full answer
Related Book For
Modern Database Management
ISBN: 978-0133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
Posted Date:
Students also viewed these programming questions
-
Given the following joint MFP: Y 0 1 2 X 0 0.15 0.10 0.05 1 0.10 0.05 0.10 2 0.05 0.10 0.05 3 0.10 0.05 0.10 Calculate the marginal PMF of X and its mean.
-
the city of marlohaven has a december 31 fiscal year end, during 20x5 marlohaven levied $720,000 in proprty taxes. the following details are expected collection of marlohaven's general fund property...
-
Can you relate a particular email communication problem with a work associate or other individual where something was misunderstood? What caused the problem and how was it resolved?
-
Suppose that a 7% semi-annual coupon bond with a time to maturity of 8 years and a par value of $100 has a price of $106,4. This bond is first callable in 6 years at a redemption price of $104,8....
-
Suppose f(x) = 0.25 for 0 < x < 4. Determine the mean and variance of X.
-
What is the indicial equation? Why is it needed?
-
Provide examples of Web services and discuss the contribution of Web services to the efficiency of information systems.
-
What is an opportunity cost rate? How is this rate used in discounted cash flow analysis, and where is it shown on a time line? Is the opportunity rate a single number that is used to evaluate all...
-
Oslo Company prepared the following contribution format income statement based on a sales volume of 1 , 0 0 0 units ( the relevant range of production is 5 0 0 units to 1 , 5 0 0 units ) : Sales $ 2...
-
GUI Assignment You will be creating a seating arrangement application using JavaFX. The project will comprise of two sections: the interface and the Java code. The application will feature a 3x3...
-
Write short shell scripts according to the following specifications. Submit a listing and document what you tested and the results. The scripts are all very short and show be submitted in your...
-
A soccer ball player bounces the ball off her head, changing the velocity of the ball. She changes the x-component of the velocity of the ball from Vix = 8.4 m/s to vfx 3.8 m/s and the y-component...
-
Discuss? Urbanization has a significant impact on the economy, driving growth and providing numerous economic opportunities. As cities expand, they become hubs of commerce, industry, and innovation,...
-
Two ice skaters stand facing each other at rest on a frozen pond. They push off against one another and the 48 kg skater acquires a speed of 0.74 m/s. If the other skater acquires a speed of 0.83...
-
A suitcase is pulled with a force of 150 N at an angle of 30 degrees to the horizontal to displace it 65 m. How do I find the work done?
-
Identifying properties of relations Write a program that will determine if a relation satisfies the following properties: Reflexive Antireflexive Symmetric Antisymmetric Input Your program should...
-
Run the following program to create a SAS data set NUM_CHAR. Using this data set, create a new SAS data set (CORRECT) as follows: X, Y, and Z are numeric variables (yes, you have to use the same...
-
Which of the following raises the credibility of areport? Which of the following raises the credibility of a report? Multiple Choice avoiding predictions avoiding the use of cause-effect statements...
-
Modify Problem and Exercise 7-52 so that the list includes the number of products each customer bought in each product line in March 2015.
-
Explain why normalized relations may not comprise an efficient physical implementation structure.
-
Which tutors, by name, are available to tutor? Write the SQL command.
-
Distinguish between a heat engine, a heat pump, and a refrigerator.
-
Sketch and explain split air conditioner?
-
With a neat sketch of a room air-conditioner, explain its working principle.
Study smarter with the SolutionInn App