Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a view named InvoiceBasic that displays three columns: VendorName, InvoiceNumber, and InvoiceTotal. b. Then, write a separate SELECT query that shows all the columns

 Write a view named InvoiceBasic that displays three columns: VendorName, InvoiceNumber, and InvoiceTotal. b. Then, write a separate SELECT query that shows all the columns in the view, sorted by VendorName, where the last letter of the vendor name is R, S or T. Use LIKE to do this. 2. a. Write an updatable view named VendorAddress that displays the VendorID, both address columns, and the city, state, and zip code columns for all vendors. b. Write a separate SELECT query to show the result where VendorID = 4 c. Write an UPDATE statement to change the VendorAddress2 column of the vendor with id 4 to contain Ste 260 instead of it being part of VendorAddress1 column. Keep it simple. Update through the VendorAddress view. d. Re-run the query you wrote in b to see if the update has been made. 3. Write a SELECT query that shows all the columns for the catalog view that displays information about foreign keys. This requires you to go into System Views and find the stored view sys.foreign_keys and write the query. The main goal of this exercise is for you to learn about System Views.

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_2

Step: 3

blur-text-image_3

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 Excel & Access for Accounting 2010

Authors: Glenn Owen

3rd edition

1111532672, 978-1111532673

More Books

Students also viewed these Algorithms questions

Question

Select one: A. $0.61 B. $1.41 C. $2.02 D. $1.83 E. $0.50

Answered: 1 week ago

Question

Find a grammar that generates the language

Answered: 1 week ago

Question

How do you control the appearance of data in a worksheet?

Answered: 1 week ago

Question

Describe the process for deleting a record from a table.

Answered: 1 week ago

Question

Identify some new features in the 2010 version of Access.

Answered: 1 week ago