Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
If you need to delete records in your table according to certain criteria, you can do it using the Delete Action Query. Let's say one of my customers, Zino Lettis, has a few oils backordered. But while they're waiting, they decide to cancel their order. Create a new query by clicking on the Create tab, and then on the Query Design. Add the Orders table and then close the Show Table window. Double-click on the Customer field and then on the OrderStatus field.
Then come up to Query Types, and choose Delete. There is a new row down here for deletion criteria. In the Customer Criteria, type in ZL11722, and under OrderStatus, enter Backordered. When you click the View button, you'll see three orders ready to delete. Toggle it back and click on the Run button. "You are about to delete three rows from the specified table.
Once you click Yes, you can't use the Undo command reverse the changes. Are you sure?" Yes. We are. Now the orders have been canceled. Go back to the Customers table, scroll down to Zino Lettis, and they're gone. You don't have to save this query. You probably won't have to delete Zino Lettis Backorders again. Delete Queries make it convenient to remove records from your tables according to the criteria you specify.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.