Link to home
Start Free TrialLog in
Avatar of chokka
chokkaFlag for United States of America

asked on

SQL NOT EXist In Another Table - Query

SELECT * from vw_340B Vw  - This returns 68 Rows
select * from CP_340B - This Returns 45 Rows

I have to find the difference by  FirstName

SELECT * from vw_340B Vw
     WHERE Vw.nameFirst NOT EXISTS IN (select [First Name] as nameFirst from CP_340B)


Any syntax help , please !!
ASKER CERTIFIED SOLUTION
Avatar of tomcahill
tomcahill
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chokka

ASKER

Thanks