Question: Please complete the following 1 3 queries and answer all the required questions on LA 2 - Query: You may find the first 1 3
Please complete the following queries and answer all the required questions on LAQuery: You may
find the first queries or similar in our SQL Lab Tutorial.
Write a query to show first names and last names of employees from the Employees table in the
database. After you run your query, how many records do you get?
Write a query to pull all of the attributes from the Employees table. After you run your query, how
many attributes do you get?
Write a query to show CustomerName and ContactName in the city of London from the Customers
table. After you run your query, how many records do you get?
Write a query to find the average price for each supplier from the Products table. What is the
highest average price in your result round to two decimal places as needed
Write a query to find the number of suppliers with an average price greater than $ in the
Products table. How many suppliers in your result table?
Write a query to find the suppliers with an average price greater than $ with supplierIDs greater
than Sort SupplierIDs in ascending order Run your query and answer the following questions:
a How many records do you get?
b What is the average price of the first record in your result round to two decimal places as
needed
Write a query to pull all the attributes of the product with product ID greater than categoryID
equal to and price greater than from the Products table. Run your query and answer the
following questions:
a How many records do you get?
b Which product has the highest price in your result table? Type the product ID here.
Write a query to show SupplierID and SupplierName of suppliers with SupplierID greater than
but smaller than or country equal to USA Use WHERE OR Please indicate the number of
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
