Question
Using a select query, you will identify all of the products with a category of meat or poultry, and then use an update query to
Using a select query, you will identify all of the products with a category of meat or poultry, and then use an update query to increase the prices of the products.
Create a select query that includes the CategoryID and CategoryName from the Categories table and the UnitPrice and ProductName fields from the Products table. Run the query and note the CategoryID for Meat/Poultry.
Add the appropriate CategoryID criterion to limit the query output to only Meat/Poultry.
Convert the query to an update query. Update the UnitPrice for Meat/Poultry only by increasing it by 6 percent. View the query in Datasheet view prior to running it to make sure you are updating the correct (four) records. Return to Design view and run the query.
Save the query as Update Meat/Poultry Prices. Close the query.
Create a New Table and Delete Archived Records
You will identify orders shipped during the first half of the year and create a new table in which to store them. You will then delete the orders from the current orders table.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Answer Select Query for MeatPoultry Category Open your database management tool Create a select quer...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started