1. Show a list of the total amount of money spent on the labor cost of servicing...
Fantastic news! We've Found the answer you've been seeking!
Question:
1. Show a list of the total amount of money spent on the labor cost of servicing Acura and Jaguar cars. Show the subtotals for each make and model
2. Write a query using analytic functions that will show the serial number, the price of each Acura car as well as the cumulative sale price totals.
Transcribed Image Text:
caryear carcolour cartrim PROSPECT custname VARCHAR2(20) NOT NULL carmake VARCHAR2(10) NOT NULL carmodel VARCHAR2(10) CHAR(4) VARCHAR2(12) VARCHAR2(16) optioncode CHAR2(4) OPTIONS custname + custcity optioncode CHAR(4) optiondesc VARCHAR2(30) optioncost NUMBER(7,2) H optionlistprice NUMBER(7,2) ||++ custstreet Specialty Imports E-R Diagram CUSTOMER VARCHAR2(20) VARCHAR2(20) custprovince CHAR(2) custpostal CHAR(7) custhphone CHAR(13) custbphone CHAR(13) NOT NULL VARCHAR2(20) NOT NULL NOT NULL DEFAULT 'ON' NOT NULL NOT NULL NOT NULL SERVINV servinvno CHAR(5) servdate DATE NOT NULL custname VARCHAR2(20) NOT NULL carserial CHAR(8) NOT NULL partscost NUMBER(7,2) laborcost NUMBER(7,2) taxrate NUMBER(4,2) DEFAULT 13.0 SERVWORK servinvno CHAR(5) workdesc VARCHAR2(80) ||++ Ho +H BASEOPTION optioncode CHAR(4) carserial CHAR(8) carserial CHAR(8) custname VARCHAR2(20) carmake VARCHAR2(10) NOT NULL carmodel VARCHAR2(10) NOT NULL caryear CHAR(4) NOT NULL extcolour VARCHAR2(12) NOT NULL H VARCHAR2(16) NOT NULL enginetype VARCHAR2(10) NOT NULL enginetype VARCHAR2(10) NOT NULL purchinvno CHAR(6) purchcost NUMBER(9.2) freightcost NUMBER(9.2) carlistprice NUMBER(9.2) cartrim PURCHINV purchinvno CHAR(6) purchfrom VARCHAR2(15) purchdate DATE CAR Text TRADEINV saleinvno CHAR(6) carserial CHAR(8) tradeallow NUMBER(9,2) INVOPTION saleinvno CHAR(6) O optioncode CHAR(4) optionprice NUMBER(7,2) -osaleinvno saledate salesman custname SALEINV CHAR(6) DATE NOT NULL VARCHAR2(20) NOT NULL VARCHAR2(20) NOT NULL NOT NULL carserial CHAR(8) CHAR(1) insfire inscollision CHAR(1) insliability CHAR(1) insproperty CHAR(1) taxrate licfee NUMBER(4,2) DEFAULT 13.0 NUMBER(6,2) discount NUMBER(8,2) commission NUMBER(8,2) carsaleprice NUMBER(9,2) title empname startdate EMPLOYEE manager VARCHAR2(20) но commissionrate NUMBER(3,1) VARCHAR2(26) VARCHAR2(20) DATE NOT NULL caryear carcolour cartrim PROSPECT custname VARCHAR2(20) NOT NULL carmake VARCHAR2(10) NOT NULL carmodel VARCHAR2(10) CHAR(4) VARCHAR2(12) VARCHAR2(16) optioncode CHAR2(4) OPTIONS custname + custcity optioncode CHAR(4) optiondesc VARCHAR2(30) optioncost NUMBER(7,2) H optionlistprice NUMBER(7,2) ||++ custstreet Specialty Imports E-R Diagram CUSTOMER VARCHAR2(20) VARCHAR2(20) custprovince CHAR(2) custpostal CHAR(7) custhphone CHAR(13) custbphone CHAR(13) NOT NULL VARCHAR2(20) NOT NULL NOT NULL DEFAULT 'ON' NOT NULL NOT NULL NOT NULL SERVINV servinvno CHAR(5) servdate DATE NOT NULL custname VARCHAR2(20) NOT NULL carserial CHAR(8) NOT NULL partscost NUMBER(7,2) laborcost NUMBER(7,2) taxrate NUMBER(4,2) DEFAULT 13.0 SERVWORK servinvno CHAR(5) workdesc VARCHAR2(80) ||++ Ho +H BASEOPTION optioncode CHAR(4) carserial CHAR(8) carserial CHAR(8) custname VARCHAR2(20) carmake VARCHAR2(10) NOT NULL carmodel VARCHAR2(10) NOT NULL caryear CHAR(4) NOT NULL extcolour VARCHAR2(12) NOT NULL H VARCHAR2(16) NOT NULL enginetype VARCHAR2(10) NOT NULL enginetype VARCHAR2(10) NOT NULL purchinvno CHAR(6) purchcost NUMBER(9.2) freightcost NUMBER(9.2) carlistprice NUMBER(9.2) cartrim PURCHINV purchinvno CHAR(6) purchfrom VARCHAR2(15) purchdate DATE CAR Text TRADEINV saleinvno CHAR(6) carserial CHAR(8) tradeallow NUMBER(9,2) INVOPTION saleinvno CHAR(6) O optioncode CHAR(4) optionprice NUMBER(7,2) -osaleinvno saledate salesman custname SALEINV CHAR(6) DATE NOT NULL VARCHAR2(20) NOT NULL VARCHAR2(20) NOT NULL NOT NULL carserial CHAR(8) CHAR(1) insfire inscollision CHAR(1) insliability CHAR(1) insproperty CHAR(1) taxrate licfee NUMBER(4,2) DEFAULT 13.0 NUMBER(6,2) discount NUMBER(8,2) commission NUMBER(8,2) carsaleprice NUMBER(9,2) title empname startdate EMPLOYEE manager VARCHAR2(20) но commissionrate NUMBER(3,1) VARCHAR2(26) VARCHAR2(20) DATE NOT NULL
Expert Answer:
Answer rating: 100% (QA)
Answer1 select Carcarmake Carcarmodel sumservinvlaborcost TotalLabo... 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 physics questions
-
You DRY STOP BUS DEEP PUDDLE V= 1.71 M/S 6 METERS VERY WET DRY 10.4 METERS V=2.4 M/S 1. Note the information on the diagram. You must be on time for a very important office presentation that will...
-
PUBLIC SECTOR ACCOUNTING (20 marks) Accountability is a complex concept (Gray & Jenkins, 1993). For the public sector, accountability is categorized into three main ones namely financial...
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
A small button placed on a horizontal rotating platform with diameter 0.320 m will revolve with the platform when it is brought up to a speed of 40.0 rev/min, provided the button is no more than...
-
The centrifugal pump of Fig P11.21 develops a flow rate of 4200 gpm with gasoline at 20°C and near-radial absolute inflow. Estimate the theoretical (a) Horsepower; (b) Head rise; and (c)...
-
Consider the interest rate tree in Table 9.9. (a) Compute the expected 6-month Treasury rate E[r1]. (b) The 1-year Treasury bill is trading at P0(2) = 97.4845. What is the (continuously compounded)...
-
Ethylene glycol at 100,000 \(\mathrm{lb} / \mathrm{hr}\) enters the shell of a 1-6 shell-and-tube heat exchanger at \(250^{\circ} \mathrm{F}\) and is cooled to \(130^{\circ} \mathrm{F}\) with cooling...
-
As part of your systems analysis project to update the automated accounting functions for Xanadu Corporation, a maker of digital cameras, you will interview Leo Blum, the chief accountant. Write four...
-
A company has just announced a dividend of $0.80 for this year and $0.835 for the next year. Dividends are expected to grow at a constant rate indefinitely. What is the current stock price if the...
-
On December 31, Y3, Aylmer Industries Inc. purchased 85% of the outstanding shares of Belmont Inc. The purchase price is indicated on the excel file. The entry has been recorded on the books of...
-
Write a descriptive paragraph about a clothing item you really love
-
sumitomo bank, a large bank in southern california, has just purchased 120 computers to standardized the computer equipment in each of its offices. the purchase was made by the purchasing manager,...
-
The quotations from the Financial Times are shown below for these currencies (2-points each). Brazil (R$) Mexico (Peso) Closing Mid-point Change on day Bid/Offer spread 6.5115 12.1800 -0.0795 0.0120...
-
If taxpayers rent their second home out for up to 14 days per year, they can _______. Unset starred question Avoid paying taxes on the rental income Deduct employment income from taxes Join a...
-
(30 points) 1. Create a minimum of 10 questions that you will ask your potential marketing client in order to be able to create and develop an advertising campaign for them. Utilize the information...
-
Overview of HR managemen t and its place in the organization: Select an organization of your choice for analysis. You may select an organization where you are now or have been employed, a civic or...
-
Discuss common behaviors in online groups?
-
Give the products of the following reaction, where T is tritium: dioldehydrase Ad- CH CH3C-COH CoIII) coenzyme B12
-
Define a view named Item Order. It consists of the item number, description, price, order number, order date, number ordered, and quoted price for all order lines currently on file. a. Using SQL,...
-
What is generalization?
-
What are the characteristics of OLTP systems?
-
On Cartesian axes, the x-component of a vector is generally associated with a (a) cosine, (b) sine, (c) tangent, (d) none of the foregoing.
-
What process do you follow to make decisions for these different circumstances, and are you satisfied with the results?
-
A football is thrown on a long pass. Compared to the balls initial horizontal velocity component, the velocity at the highest point is (a) greater, (b) less, (c) the same.
Study smarter with the SolutionInn App