Question: Data Try - out 1 Required: Write SQL queries to answer the questions listed below. Instructions: Download the data file with name: Tryout 1 (
Data Tryout
Required: Write SQL queries to answer the questions listed below.
Instructions:
Download the data file with name: Tryoutin MS Access format
Practice SQL queries using the examples in the demonstration: Tryoutdemo
Answer all the questions by submitting screenshots of your output tables and your SQL queries Note: please paste your tables and SQL queries in a single word file
In accounting, we do not need too much creativity, but in data processing, there are usually multiple ways to get the results! Be creative!
Questions:
The company wants to make sure they have enough inventory in stock. If the quantity on hand of an item is lower than the company will need to reorder. Please identify the items return with ItemID, Description, QuantityOnHand that are low in stock.
Mahomet would like to get more information about customers he has worked with in Nov. Can you help him print out a list with information about name, ID City, State, and CreditLimit?
The company wants to identify items with low sales volume. Please make a table with a new column named SalesVol, indicating the quantity sold for each item. Present SalesVol of each item in an ascending order. Also, include ItemID and ListPrice in the new table.
The sales department manager wants to get information about sales activities by state. Please create a new variable called NumOfCustomers. Print a table that contains State and NumOfCustomers.
The sales department manager wants to get information about sales activities by state. Please create two new variables called NumOfSales and NumOfCustomers. In this query, NumOfSales is the total number of sales made within a state Note: here items on one invoice are counted as single sale Print a table that contains State, NumOfSales, and NumOfCustomers.tableSELECT FROM 'Customer' LIMIT tableExecuteCtrlEnterCustomerIDCustomerName,City,State,CreditLimit,Smith,Phoenix,AZJones,St Louis,MOJeffries,Atlanta,GAGilkey,Phoenix,AZLankford,Phoenix,AZZeile,Chicago,ILPagnozzi,Salt Lake City,UTArocha,Chicago,ILSepulveda,Jersey City,NJPuente,Pittsburgh,PAEdmonds,Minneapolis,MNMoates,Arlington,VALeo,Charlotte,NCWarn,Austin,TXSacks,St Petersburg,FLElders,Baton Rouge,LAHamaker,Lincoln,NBGuillaume,Minneapolis,MNMallette,San Bernardino,CAWedell,Lubbock,TXBruckner,Milwaukee,WI
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
