You are on page 1of 2

Lesson Lab – UPDATE and DELETE

Questions

1. Using the Customers table, update Thomas Axen’s business phone number to (555)555-1234

2. Update the Northwind Traders Olive Oil quantity per unit sold to 24 boxes. Use the Products table.

3. Remove Robert Zare from the Employees table.

4. Delete any order from the Orders table where the Shipped Date field is empty.

5. Update Naoki Sato’s, and Luis Sousa’s job title to Regional Manager. Use the Suppliers table.

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


IsaBel Harrison
Answers

1.

UPDATE Customers

SET [Business Phone] = '(555)555-1234'

WHERE [Last Name] = 'Axen'

2.

UPDATE Products

SET [Quantity Per Unit] = '24 boxes'

WHERE [Product Name] LIKE '*olive oil'

3.

DELETE * FROM Employees

WHERE [Last Name] = 'Zare'

You can’t actually delete this record through this query because there is a relationship with other tables.

4.

DELETE * FROM Orders

WHERE [Shipped Date] IS NULL

5.

UPDATE Suppliers

SET [Job Title] = 'Regional Manager'

WHERE [Last Name] = 'Sato' OR [Last Name] = 'Sousa'

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


IsaBel Harrison

You might also like