Question: Lab: Using SQL in the Lancaster College DatabaseInstructions: Open the Support _ AC _ Lancaster College database. ( If you do not have the database,
Lab: Using SQL in the Lancaster College DatabaseInstructions: Open the SupportACLancaster College database. If you do not have the database, see your instructor for a copy of the modified database.Part : The administration at Lancaster College has asked you to perform a number of tasks. Use the concepts and techniques presented in this module to perform each of the following tasks.a Create queries using SQL Find all the Orders where the quantity ordered was less than Show all fields in the results and save the query as ITL Step Query. b Create a query using the WHERE command to identify the Coaches with offices in the SM building. Save the query as ITL Step Query. c Use the AND command to identify all the students who have waivers and are qualified academically for sports. Show the Student ID field in the query. Save the query as ITL Step Query. d Using the NOT command, find all coaches that do not have offices in the JK building. Show the Coach ID field in the query. Save the query as ITL Step Query.e Using the ORDER BY command, sort the students that are participating in sports by their student ID and then by the name of the sport they are participating in Sort both in ascending order. Save the query as ITL Step Query.f Use the AND command to find the football fields that are available in the Fall and sort the results in descending order by FieldID. Save the query as ITL Step Query.g Group the Orders by Equipment ID and Count the number of orders with quantity ordered of greater than Save the query as ITL Step Query.h Close the database.
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
