Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No duplicate query

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,

I have two columns of numbers, each in a seperate table. One column is dynamic and the other is static. I need a query that will compare the numbers in each table and return the numbers from the dynamic column that aren't already in the static column.

Could anyone help with this?

Thanks in advance

Gary
 
select dinamic_col from dinamic_table
where dinamic_col not in(select static_col from static_table) John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top