APlusGrades

Not Rated (0)

$15/per page/Negotiable

About APlusGrades

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing,Foreign Languages,Geography,Geology,Health & Medical,HR Management,Law,Management,Physics,Programming,Science,Statistics Hide all
Teaching Since: Jul 2017
Last Sign in: 364 Weeks Ago, 1 Day Ago
Questions Answered: 1850
Tutorials Posted: 1850

Education

  • Graduate in Biology and Nutrition, MBA Finance
    Florida State University
    Aug-2000 - Jul-2007

Experience

  • Ass. Relationship Manager
    Penn-Florida
    Mar-2009 - Feb-2016

Category > Information Systems Posted 19 Jul 2017 My Price 10.00

/* Query 2. Read p.130-131 or watch the video on slide#1~2 of part(3) of Chapter 4.

/* Query 2.

Read p.130-131 or watch the video on slide#1~2 of part(3) of Chapter 4.

Then, write a statement to execute the procedure sp_addlinkedserver to

create a linked server in your server with a name of your selection

so it represents the instructor's SQL Server running in his office

ENB301A. Write another statement to execute another procedure, which is

sp_addlinkedsrvlogin, to map your Windows login to an existing remote

login of the linked server. This login must be called 'student' with

a password also 'student'.

 

There is a Products2 table in the ClearWater database of the instructor's

SQL Server described above. Products2 has different contents from Products

of ClearWater.

 

Your job here is to write a SELECT statement to compare products in

Products2 (of ClearWater in the above remote server) with products in

Products of ClearWater in your own server and find out which have

the same ProductID but different CategoryID. Display their ProductID

(only in one column) and both CategoryID in 'CategoryID_myServer' and

'CategoryID_remoteServer', respectively.

*/

 

 

 

 

 

 

/* Query 3.

Use the same linked server you created in Query 2 and write a SELECT

statement to find catogeries of ClearWater in your server that are not

referenced or used by any product in the Products2 table of the linked

server. Display their CategoryID, CategoryName, and Description.

 

Hint: outer join

*/

 

 

 

 

 

 

/* Query 4.

Which products in Products table (of your server) have the same supplier

as that of product 63 and have a unit price lower than that of product 63?

Display their ProductID, SupplierID, and UnitPrice.

 

Do not hard code the supplier's SupplierID or name in your statement.

 

Hint: self join

*/

 

 

 

 

 

----------END----------

Answers

Not Rated (0)
Status NEW Posted 19 Jul 2017 07:07 AM My Price 10.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â-----------  -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I

Not Rated(0)