Consider the SQL query in Figure 1-19. a. How is Sales to Date calculated? b. How would
Question:
Consider the SQL query in Figure 1-19.
a. How is Sales to Date calculated?
b. How would the query have to change if Helen Jarvis wanted to see the results for all of the product lines, not just the Home Office product line?
Transcribed Image Text:
SELECT Product.ProductID, Product.ProductDescription, Product.PRCurrentYearSalesGoal, (OrderQuantity • ProductPrice) AS SalesToDate FROM Order.OrderLine, Product.ProductLine WHERE Order.OrderNumber = OrderLine.OrderNumber AND Product.ProductID = OrderedProduct.ProductID AND Product.ProductID = ProductLine.ProductID AND Product.ProductLineName = "Home Office";
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 0% (3 reviews)
a SalesToDate is calculated by multiplying the quan...View the full answer
Answered By
PALASH JHANWAR
I am a Chartered Accountant with AIR 45 in CA - IPCC. I am a Merit Holder ( B.Com ). The following is my educational details.
PLEASE ACCESS MY RESUME FROM THE FOLLOWING LINK: https://drive.google.com/file/d/1hYR1uch-ff6MRC_cDB07K6VqY9kQ3SFL/view?usp=sharing
3.80+
3+ Reviews
10+ Question Solved
Related Book For
Essentials of Database Management
ISBN: 978-0133405682
1st edition
Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman
Question Posted:
Students also viewed these Computer science questions
-
Consider the SQL query select p.a1 from p, r1, r2 where p.a1 = r1.a1 or p.a1 = r2.a1. Under what conditions does the preceding query select values of p.a1 that are either in r1 or in r2? Examine...
-
Consider the SQL query whose answer is shown in Figure 3.2. Sid Name Login Age Gpa 53831 Madayan madayan@ 11 1.8 53832 Gulda guldu@music 12 2.0 Students with age < 18 on Instance S 1....
-
Toys Galore currently has a credit limit of $7,500. Because Toys Galore has an excellent credit rating, TAL Distributors is increasing the companys credit limit to $10,000. If you run the SQL query...
-
A dipole of 6.6 nC point charges arranged 0.16 cm apart is centered at the origin and oriented along the x-axis. The positive charge is on the negative x axis. How m energy is required to place a...
-
In 1954 the English runner Roger Bannister broke the four-minute barrier for the mile with a time of 3:59.4 s (3 min and 59.4 s). In 1999 the Moroccan runner Hicham el-Guerrouj set a record of...
-
The following table lists the intracellular osmolality concentrations of four osmoconforming organisms that are known to mimic the osmotic conditions of their surroundings. Which of the following...
-
Why is the application of power used to assist in the recovery of a stall, but not a spin?
-
1. Is the pressure for Richard Branson to change Virgins business strategy coming from the internal or external environment? 2. In order to better compete with its rivals, should Virgin focus on a...
-
Eutopia and the United States of Pollutia(USP)are both developed countries and both members of the WTO. Eutopia is at the forefront of global efforts to combat climate change. It is also a party to...
-
Choice $693,000 $116,000 $112,000 $91,000 The following beginning and ending inventory balances apply to Holder Company: Beginning Ending $29,000 $27,000 37,000 25,000 Raw Materials Inventory Work in...
-
Consider Figure 1-14. Explain the meaning of the line that connects ORDER to INVOICE and the line that connects INVOICE to PAYMENT. What does this say about how Pine Valley Furniture Company does...
-
Give three reasons why many system designers believe that data modeling is the most important part of the systems development process.
-
What role has venture capital played in this economic transformation?
-
After a control chart (for means) has been developed, samples are taken and the average is computed for each sample. The process could be considered out of control if a. one of the sample means is...
-
A company is implementing a new quality control program. Items are sampled and classified as being defective or nondefective. The type of control chart that should be used is a. an R-chart. b. a...
-
What factors must an airline consider in selecting new aircraft?
-
A type of variability that indicates that a process is out of control is called a. natural variation. b. assignable variation. c. random variation. d. average variation.
-
What macroeconomic indicator is closely correlated with air travel growth? Why?
-
In December 2008, some economists forecast deflation for the coming yeara decrease in the price level, and therefore a negative inflation rate. Suppose a lender at that time expected deflation over...
-
Figure displays a 12.0 V battery 3 four uncharged capacitors of capacitances C1 = 4.00F, C2 = 6.00F, and C3 = 3.00F. The switch is thrown to the left side until capacitor 1 is fully charged. Then the...
-
How many MIPS instructions does it take to implement the C code from Exercise 2.27? If the variables a and b are initialized to 10 and 1 and all elements of D are initially 0, what is the total...
-
Translate the following loop into C. Assume that the C-level integer i is held in register $t1, $s2 holds the C-level integer called result, and $s0 holds the base address of the integer MemArray....
-
Implement the following C code in MIPS assembly. What is the total number of MIPS instructions needed to execute the function int fib(int n){ if (n==0) return 0; else if (n 1) == return 1; else...
-
What is one specific security tactics to protect the network. Identify specific tools selections to accomplish compliance and audit requirement Describe how alerts would be collected and presented...
-
1. Solve each equation for x, where 0x & a) sin x-= 0 b) cosx-3 cosx+2=0
-
Explain Article III Standing, and explain how to achieve standing. b) Explain Negligence, and provide an example of a Negligence claim. c) What happened in the case of Genesco v. Visa? d) Explain the...
Study smarter with the SolutionInn App