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 Try-out 1
Required: Write SQL queries to answer the questions listed below.
Instructions:
Download the data file with name: Tryout1(in MS Access format).
Practice SQL queries using the examples in the demonstration: Try-out1_demo
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 50, the company will need to re-order. 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.\table[[SELECT * FROM 'Customer' LIMIT 0,30,\table[[Execute],[(Ctrl+Enter)]]],[CustomerID,CustomerName,City,State,CreditLimit,],[1000,Smith,Phoenix,AZ,2500,],[1001,Jones,St. Louis,MO,1500,],[1002,Jeffries,Atlanta,GA,4000,],[1003,Gilkey,Phoenix,AZ,5000,],[1004,Lankford,Phoenix,AZ,2000,],[1005,Zeile,Chicago,IL,2000,],[1006,Pagnozzi,Salt Lake City,UT,5000,],[1007,Arocha,Chicago,IL,1000,],[1008,Sepulveda,Jersey City,NJ,2500,],[1009,Puente,Pittsburgh,PA,2500,],[1010,Edmonds,Minneapolis,MN,2000,],[1011,Moates,Arlington,VA,1500,],[1012,Leo,Charlotte,NC,1500,],[1013,Warn,Austin,TX,2000,],[1014,Sacks,St. Petersburg,FL,3000,],[1015,Elders,Baton Rouge,LA,1500,],[1016,Hamaker,Lincoln,NB,1000,],[1017,Guillaume,Minneapolis,MN,4000,],[1018,Mallette,San Bernardino,CA,2000,],[1019,Wedell,Lubbock,TX,2000,],[1020,Bruckner,Milwaukee,WI,2000,]]
Data Try - out 1 Required: Write SQL queries to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!