You are given a database in a MS Access file called 'DBP-e14-Cape-Codd' that contains data collected...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You are given a database in a MS Access file called 'DBP-e14-Cape-Codd' that contains data collected in an outdoor sports retail store. The retail store hired you as a data analyst to answer questions in order to help them make business decisions that will help them grow. RETAIL ORDER OrderNumber StoreNumber StoreZIP Order Month SKU DATA SKU SKU Description FEESE Department Buver OrderYear OrderTotal Query Question 1 2 3 4 5 6 7 8 9 10 11 12 ORDER ITEM OrderNumber SKU Quantity Price SELECT FROM Extended Price 5 1 WHERE 3 GROUP BY HAVING ORDER BY ; INVENTORY Warehouse D SKU SKU Description QuantityOnHand QuantityOnOrder Show the sku, description, and the buyer name "in" department name in one cell as sponsor (RTRIM(Buyer) &' in '&RTRIM(Department) as Sponsor) For each department, show the number of items in which catalog page for 2014 was not blank For each department, show the number of items they contain for sku/item that is not 302000 and the total number of items is more than 1 Can you show an example of an SQL cross join (Cartesian product) for the retail_order and order_item tables? This is illogical in database work because we only need rows that somehow logically correspond in the two tables. Can you create an implicit SQL inner join for retail order and order_item tables? Sort by order number and SKU of Order_Item Can you create an explicit SQL inner join for retail_order and order_item tables? Sort by order number and SKU of Order Item List all records from retail_order and order_item tables for the year 2014. Sort by order number and SKU of Order Item For every department, show the average order item price Which manager had the largest amount (quantity) of item-orders? For every store (storeNumber), how many departments are there? How much total money (extendedprice) did we make from each buyer? How much total money (extendedprice) was each manager responsible for? WAREHOUSE WarehouseID WarehouseCity WarehouseState Manager SquareFeet SQL Statement CATALOG SKU 2014 CatalogID SKU SKU Description Department CatalogPage DateOnWebSite You are given a database in a MS Access file called 'DBP-e14-Cape-Codd' that contains data collected in an outdoor sports retail store. The retail store hired you as a data analyst to answer questions in order to help them make business decisions that will help them grow. RETAIL ORDER OrderNumber StoreNumber StoreZIP Order Month SKU DATA SKU SKU Description FEESE Department Buver OrderYear OrderTotal Query Question 1 2 3 4 5 6 7 8 9 10 11 12 ORDER ITEM OrderNumber SKU Quantity Price SELECT FROM Extended Price 5 1 WHERE 3 GROUP BY HAVING ORDER BY ; INVENTORY Warehouse D SKU SKU Description QuantityOnHand QuantityOnOrder Show the sku, description, and the buyer name "in" department name in one cell as sponsor (RTRIM(Buyer) &' in '&RTRIM(Department) as Sponsor) For each department, show the number of items in which catalog page for 2014 was not blank For each department, show the number of items they contain for sku/item that is not 302000 and the total number of items is more than 1 Can you show an example of an SQL cross join (Cartesian product) for the retail_order and order_item tables? This is illogical in database work because we only need rows that somehow logically correspond in the two tables. Can you create an implicit SQL inner join for retail order and order_item tables? Sort by order number and SKU of Order_Item Can you create an explicit SQL inner join for retail_order and order_item tables? Sort by order number and SKU of Order Item List all records from retail_order and order_item tables for the year 2014. Sort by order number and SKU of Order Item For every department, show the average order item price Which manager had the largest amount (quantity) of item-orders? For every store (storeNumber), how many departments are there? How much total money (extendedprice) did we make from each buyer? How much total money (extendedprice) was each manager responsible for? WAREHOUSE WarehouseID WarehouseCity WarehouseState Manager SquareFeet SQL Statement CATALOG SKU 2014 CatalogID SKU SKU Description Department CatalogPage DateOnWebSite
Expert Answer:
Answer rating: 100% (QA)
8 select sDepartment avgoPrice from ORDERITEM o SKUDATA s wher... View the full answer
Related Book For
Modern Systems Analysis And Design
ISBN: 9780134204925
8th Edition
Authors: Joseph Valacich, Joey George
Posted Date:
Students also viewed these databases questions
-
Looking at the BMW's recent financial statement and the annual report that accompanies the financial statement, calculate the Shareholder Value Added. Based on the result, assuming that I am a...
-
Silas is farsighted and wants to read the newspaper. Withoutglasses, Silass near point (the closest point he can see in focus)is far away, so he has to try to read the paper by holding his...
-
What are 2 examples of U.S. public health laws that improve environments to make healthy choices easier for individuals. Explain how these laws help with chronic disease prevention or management.
-
Draw a topology on paper that will show the connection between home network and College (LAN) using conventional symbols used in networking? (10) Home Network: 1 connecting device 1 Wireless devices...
-
Consider a diffusion couple between silver and a gold alloy that contains 10 wt% silver. This couple is heat treated at an elevated temperature and it was found that after 850 s the concentration of...
-
Show the effect of each of the following events on the market for labor in the computer manufacturing industry. a. Congress buys personal computers for all U.S. college students. b. More college...
-
What measures of evaluation are appropriate for sales management to use when conducting appraisals of individual members of the sales force?
-
The following tests of controls and substantive tests of transactions audit procedures for acquisitions and cash disbursements are to be used in the audit of Ward Publishing Company. You concluded...
-
You short sell 20 shares of a stock which is currently traded for 100 dollars. The maintenance margin is 30%. Three days later, the stock price hits 130 dollars, and you immediately receive a margin...
-
Consider the following three liquid mixtures. A. Water + n-propane B. n-hexane + benzene C. Ortho-xylene + para-xylene Which mixtures, if any, do you expect to behave as an ideal solution and why?...
-
Kelly Realty loaned money and received the following notes during 2014. Principal Amount Interest Rate $ 24,000 17% 18,000 6% 12,000 12% Note Date Aug.1 Nov. 30 Dec. 19 (2) (3) Term 1 year 6 months...
-
Why do many firms strive to maintain stable prices?
-
Relate each of the following to the 19952010 increase in the trend rate of productivity growth: a. information technology b. increasing returns c. network effects d. global competition
-
Cost-push inflation occurs in the presence of __________________. a. excess inventory b. a trade deficit c. rising per-unit production costs d. excess demand for goods and services
-
A countrys current unemployment rate is 11 percent. Economists estimate that its natural rate of unemployment is 6 percent. About how large is this economys negative GDP gap? a. 1 percent b. 3...
-
The unemployment rate that is consistent with full employment is __________________. a. the natural rate of unemployment b. the unnatural rate of unemployment c. the status quo rate of unemployment...
-
the current market price of the bond is $92 per $100 nominal value. the bond will be redeemed at $100 nominal value in 4 years time and has a coupon rate of 10%. calculate the yield to maturity on...
-
How does the organizational structure of an MNC influence its strategy implementation?
-
What is a DFD? Why do systems analysts use DFDs?
-
In a real estate database, there is an entity called PROPERTY, which is a property for sale by the agency. Each time a potential property buyer makes a purchase offer on a property, the agency...
-
What is the significance of triggering operations and business rules in the analysis and design of an information system?
-
Using data from a random sample of elementary schools, a researcher regresses average test scores on the fraction of students who qualify for reduced-price meals. The regression indicates a negative...
-
In the study of cigarette demand in this chapter, suppose we used as an instrument the number of trees per capita in the state. Is this instrument relevant? Is it exogenous? Is it a valid instrument?
-
In the demand curve model of Equation (12.3), is \(\ln \left(P_{i}^{\text {butter }} ight)\) positively or negatively correlated with the error, \(u_{i}\) ? If \(\beta_{1}\) is estimated by OLS,...
Study smarter with the SolutionInn App