dbTalk Databases Forums  

Missing from one table

comp.databases.oracle comp.databases.oracle


Discuss Missing from one table in the comp.databases.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dale DeRemer
 
Posts: n/a

Default Missing from one table - 10-04-2004 , 03:17 PM






We want to make a query where we check table A for employee numbers and
compare that with table B. We would like to build a list of employees who
are in table A but not in table B. An ideas on how to build that type of
query?



Reply With Quote
  #2  
Old   
Hans Forbrich
 
Posts: n/a

Default Re: Missing from one table - 10-04-2004 , 05:45 PM






Dale DeRemer wrote:

Quote:
We want to make a query where we check table A for employee numbers and
compare that with table B. We would like to build a list of employees who
are in table A but not in table B. An ideas on how to build that type of
query?
Use the SELECT 'MINUS' capability. (SELECT ... MINUS SELECT ...)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.