Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Using Microsoft Excel and Access 2016 for Accounting

Authors: Glenn Owen

5th edition

1337109048, 1337109045, 1337342149, 9781337342148 , 978-1337109048

More Books

Students also viewed these Databases questions

Question

What is the role of "loose" electrons in heat conductors?

Answered: 1 week ago

Question

What is another term for vertical analysis?

Answered: 1 week ago

Question

How are tables related?

Answered: 1 week ago