In the following exercises, you will use the data in the Premiere Products database shown...
Fantastic news! We've Found the answer you've been seeking!
Question:
\ \
Transcribed Image Text:
In the following exercises, you will use the data in the Premiere Products database shown in Figure 2-1 in Chapter 2. (If you use a computer to complete these exercises, use a copy of the original Premiere Products database so your data will not reflect the changes you made in Chapter 3.) If you have access to a DBMS, use the DBMS to perform the tasks and explain the steps you used in the process. If not, explain how you would use SQL to obtain the desired results. Check with your instructor if you are not certain about which approach to take. Create the following indexes. If it is necessary to name the index in your DBMS, use the indicated name. a. Create an index named Partindexi on the PartNum field in the OrderLine table. b. Create an index named Partindex2 on the Warehouse field in the Part table. c Create an index named Partindex3 on the Warehouse and Class fields in the Part table. d. Create an index named Partindex4 on the Warehouse and OnHand fields in the Part table and list units on hand in descending order. Reference: Rep RepNum LastName FirstName Street City State Zip Commission Rate 20 Kaiser Valerie 624 Randall Grove FL 33321 $20,542.50 0.05 35 Hull Richard 532 Jackson Sheldon FL 33553 $39,216.00 0.07 1626 Taylor 65 Perez Juan Fillmore FL 33336 $23,487.00 0.05 Customer CustomerNum CustomerName Street Al's Appliance and Sport City State Zip Balance Creditlimit RepNum 148 2837 Greenway Filmore FL 33336 $6,550.00 $7,500.00 20 282 3827 Devon 33321 Brookings Direct Grove FL $431.50 s10,000.00 35 356 Ferguson's 382 Wildwood Northfield FL 33146 $5,785.00 S7,500.00 65 408 The Everything 1828 Raven Shop Crystal FL 33503 $5,285.25 $5,000.00 35 462 Barguins Galore 3829 Central Grove FL 33321 S3,412.00 $10,000.00 65 524 Kline's 838 Ridgeland Filmore FL. 33336 $12,762.00 S15,000.00 20 608 372 Oxford 33553 $2,106.00 s10,000.00 65 Johnson's Department Store Sheldon FL 687 Lee's Sport and Appliance 282 Evergreen Altonville FL. 32543 $2,851.00 $5,000.00 35 725 Deerfield's Four Seasons 282 Columbia Sheldon FL 33553 $248.00 $7,500.00 35 842 All Season 28 Lakeview Grove FL 33321 $8,221.00 $7,500.00 20 Orders OrderLine OrderNum OrderDate CustomerNum OrderNum PartNum NumOrdered QuotedPrice 21608 10/20/2013 148 21608 AT94 11 $21.95 21610 10/20/2013 356 21610 DR93 $495.00 21613 10/21/2013 408 21610 DW11 1. $399.99 21614 10/21/2013 282 21613 KL62 4 $329.95 21617 10/23/2013 608 21614 KT03 $595,00 21619 10/23/2013 148 21617 BV06 $794.95 21623 10/23/2013 608 21617 CD52 4 $150.00 21619 DR93 $495.00 21623 KV29 $1,290.00 Part PartNum Description OnHand Clas Warehouse Price AT94 Iron 50 HW 3. $24.95 BV06 Home Gym 45 SG 2 $794.95 CD52 Microwave Oven 32 AP $165.00 DL71 Cordless Drill 21 HW S129.95 DR93 Gas Range AP 2 $495.00 DW11 Washer 12 АР 3. $399.99 FD21 Stand Mixer 22 HW 3. $159.95 KL62 Dryer 12 AP $349.95 KT03 Dishwasher 8. AP 3. $595.00 KV29 Treadmill SG $1,390.00 FIGURE 2-1 Sample data for Premiere Products In the following exercises, you will use the data in the Premiere Products database shown in Figure 2-1 in Chapter 2. (If you use a computer to complete these exercises, use a copy of the original Premiere Products database so your data will not reflect the changes you made in Chapter 3.) If you have access to a DBMS, use the DBMS to perform the tasks and explain the steps you used in the process. If not, explain how you would use SQL to obtain the desired results. Check with your instructor if you are not certain about which approach to take. Create the following indexes. If it is necessary to name the index in your DBMS, use the indicated name. a. Create an index named Partindexi on the PartNum field in the OrderLine table. b. Create an index named Partindex2 on the Warehouse field in the Part table. c Create an index named Partindex3 on the Warehouse and Class fields in the Part table. d. Create an index named Partindex4 on the Warehouse and OnHand fields in the Part table and list units on hand in descending order. Reference: Rep RepNum LastName FirstName Street City State Zip Commission Rate 20 Kaiser Valerie 624 Randall Grove FL 33321 $20,542.50 0.05 35 Hull Richard 532 Jackson Sheldon FL 33553 $39,216.00 0.07 1626 Taylor 65 Perez Juan Fillmore FL 33336 $23,487.00 0.05 Customer CustomerNum CustomerName Street Al's Appliance and Sport City State Zip Balance Creditlimit RepNum 148 2837 Greenway Filmore FL 33336 $6,550.00 $7,500.00 20 282 3827 Devon 33321 Brookings Direct Grove FL $431.50 s10,000.00 35 356 Ferguson's 382 Wildwood Northfield FL 33146 $5,785.00 S7,500.00 65 408 The Everything 1828 Raven Shop Crystal FL 33503 $5,285.25 $5,000.00 35 462 Barguins Galore 3829 Central Grove FL 33321 S3,412.00 $10,000.00 65 524 Kline's 838 Ridgeland Filmore FL. 33336 $12,762.00 S15,000.00 20 608 372 Oxford 33553 $2,106.00 s10,000.00 65 Johnson's Department Store Sheldon FL 687 Lee's Sport and Appliance 282 Evergreen Altonville FL. 32543 $2,851.00 $5,000.00 35 725 Deerfield's Four Seasons 282 Columbia Sheldon FL 33553 $248.00 $7,500.00 35 842 All Season 28 Lakeview Grove FL 33321 $8,221.00 $7,500.00 20 Orders OrderLine OrderNum OrderDate CustomerNum OrderNum PartNum NumOrdered QuotedPrice 21608 10/20/2013 148 21608 AT94 11 $21.95 21610 10/20/2013 356 21610 DR93 $495.00 21613 10/21/2013 408 21610 DW11 1. $399.99 21614 10/21/2013 282 21613 KL62 4 $329.95 21617 10/23/2013 608 21614 KT03 $595,00 21619 10/23/2013 148 21617 BV06 $794.95 21623 10/23/2013 608 21617 CD52 4 $150.00 21619 DR93 $495.00 21623 KV29 $1,290.00 Part PartNum Description OnHand Clas Warehouse Price AT94 Iron 50 HW 3. $24.95 BV06 Home Gym 45 SG 2 $794.95 CD52 Microwave Oven 32 AP $165.00 DL71 Cordless Drill 21 HW S129.95 DR93 Gas Range AP 2 $495.00 DW11 Washer 12 АР 3. $399.99 FD21 Stand Mixer 22 HW 3. $159.95 KL62 Dryer 12 AP $349.95 KT03 Dishwasher 8. AP 3. $595.00 KV29 Treadmill SG $1,390.00 FIGURE 2-1 Sample data for Premiere Products
Expert Answer:
Answer rating: 100% (QA)
Syntax is CREATE INDEX IndexName ON TableNameColumnName So In this above Example IndexName is PartIndex1 Field Name ieColumnname is PartNum and TableName ... View the full answer
Related Book For
Concepts of Database Management
ISBN: 978-1285427102
8th edition
Authors: Philip J. Pratt, Mary Z. Last
Posted Date:
Students also viewed these databases questions
-
Create the following indexes. If it is necessary to name the index in your DBMS, use the indicated name. a. Create an index named PartIndex1 on the PartNum field in the OrderLine table. b. Create an...
-
In the following exercises, you will use the data in the TAL Distributors database shown in Figure 2-1 in Chapter 2. (If you use a computer to complete these exercises, use a copy of the original TAL...
-
In the following exercises, you will use the data in the Solmaris Condominium Group database shown in Figures 1-21 through 1-25. (If you use a computer to complete these exercises, use a copy of the...
-
Addison, Inc. makes a single product, an indoor fireplace. Data for last year is as follows: Selling price per fireplace Manufacturing costs: Variable per unit produced: Direct materials Direct labor...
-
A heat pump with refrigerant-134a as the working fluid is used to keep a space at 25°C by absorbing heat from geothermal water that enters the evaporator at 60°C at a rate of 0.065 kg/s and...
-
Graph. x - y = 5
-
The distribution of the ages of the winners of the Tour de France from 1903 to 2016 is approximately bell-shaped. The mean age is 27.9 years, with a standard deviation of 3.3 years. Use the...
-
Consider exercise 2. Assume that two companies (A and B) are duopolists who produce identical products. Demand for the products is given by the following linear demand function: P = 200 QA QB Where...
-
Explain the role of technological innovation and disruptive technologies, such as artificial intelligence (AI), blockchain, and 3D printing, in accelerating the transition towards sustainability,...
-
A hydroponic garden uses the 10 m long perforated pipe system shown below to deliver water at 20 degrees Celsius. The pipe is 5 cm in diameter and contains a circular hole every 20 cm. A pump...
-
Find the Fourier series coefficients of the sequence x(n) shown below: Till x[n] If x(t) = 10 sin t, then find i) the CTFT of x(t) ii) the CTFT of x(t-2) 0 T pil
-
Insurance companies that enter into contracts with employers to provide dental coverage limit the frequency of certain services such as regular checkups or tooth cleaning. How do such restrictions...
-
Two manufacturing firms are debating whether or not to increase their spending on regular equipment inspections and training to improve safety and reduce the chances of injury to workers. They have...
-
Use a diagram of a competitive labor market to compare the equilibrium effects and incidence of a per-unit tax on earnings when the buyer of the labor services is competitive compared to when it is a...
-
Every few months, The Economist publishes its Big Mac Index. Using the current exchange rates, it compares the U.S.-dollar price of Big Macs in several countries. It then concludes that countries in...
-
The diagram below shows the demand for foreign currency and the supply of foreign currency. The equilibrium exchange rate is e * . a. Suppose the Bank of Canada decides to fix the exchange rate at e...
-
Sofa Gomez runs a mobile pet grooming service. She charges $30 direct labor per grooming hour. She applies overhead to jobs on the basis of grooming hours. She predicts 930 grooming hours for the...
-
Subprime loans have higher loss rates than many other types of loans. Explain why lenders offer subprime loans. Describe the characteristics of the typical borrower in a subprime consumer loan.
-
How do you include a field in an Access query?
-
How do you save the results of an SQL query as a table?
-
What is a primary key? What is the primary key for each table in the Colonial Adventure Tours database shown in Figures 1-15 through 1-19 in Chapter 1? Figure 1-15 GuideNum LastName FirstName Address...
-
Explain the working of following drilling machines with a neat diagram: (a) General purpose drilling machine. (b) Pillar drilling machine. (c) Bench drilling machine. (d) Redial drilling machine.
-
How the size of milling machine is specified?
-
List the various drilling operations.
Study smarter with the SolutionInn App