Home Forums SQL Server 2005 SQL Server 2005 General Discussion Update Join Query Help!!!! RE: Update Join Query Help!!!!
Lynn Pettis
SSC Guru
Points: 442467
More actions
April 29, 2013 at 4:26 am
#1610732
Look up CREATE VIEW in Books Online, but to help:
create view dbo.MyView
as
select
a.DIVISION,
a.SUB_UNIT,
b.Description as ReasonsReferral
from
dbo.TableA a
inner join dbo.TableB b
on (a.REASONSREFERRAL = b.ID)