Question
Create a query that will do the following: a. Create a table variable named Inventory with the following information: Vendor ID Vendor Name Product Name
Create a query that will do the following:
a. Create a table variable named "Inventory" with the following information: Vendor ID Vendor Name Product Name Now the fun part
b. Declare and set a variable called "Find" that will be used later to find all items with "coffee" in the name.
c. Search the table variable for the product name that contains the word coffee within.
d. Branch if the VendorID is "Bob".
e. You will need a variable named "Product" that will hold the full Product name, once found.
f. You will need a variable named "Vendor" to hold the vendorname, once found. Note: you may want to use sub-queries to load the Product and Vendor variables, and to search for coffee.
g. The output should look like this: The Coffee maker is from Bobs Hardware
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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 StartedRecommended Textbook for
Using Microsoft Excel and Access 2016 for Accounting
Authors: Glenn Owen
5th edition
1337109048, 1337109045, 1337342149, 9781337342148 , 978-1337109048
Students also viewed these Databases questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App