You are on page 1of 2

Lesson Lab – WHERE

Questions

1. Select the product name and list price of the products that have a list price of either $2, $4, or $6.
Use the Products table.

2. Select the product name and list price of the products that have the word Hot in the name.
Use the Products table.

3. Select all the records for the Sales Representatives. Use the Employees table.

4. Select all the records for people who are not Sales Representatives. Use the Employees table.

5. Select all of the orders that have an order date between January 1, 2006 and March 31, 2006. Use
the Orders table.

Microsoft Access: SQL for Non-Programmers | Udemy.com


IsaBel Harrison
Answers

1.

SELECT [Product Name], [List Price]

FROM Products

WHERE [List Price] IN (2, 4, 6)

There are no products with a list price of $6

2.

SELECT [Product Name], [List Price]

FROM Products

WHERE [Product Name] LIKE '*Hot*'

3.

SELECT *

FROM Employees

WHERE [Job Title] = 'Sales Representative'

4.

SELECT *

FROM Employees

WHERE NOT [Job Title] = 'Sales Representative'

5.

SELECT *

FROM Orders

WHERE [Order Date] BETWEEN #1/1/2006# AND #3/31/2006#

Microsoft Access: SQL for Non-Programmers | Udemy.com


IsaBel Harrison

You might also like