Deleted Records?

G

Guest

Here’s what I have and did with two tables.
Have tableA (91K records) that has duplicate records. Created a blank
tableb from tableA structure and made primary keys on selected fields.

Appended tableA to tableB. TableB now has unique entries, about 41K records.
TableA is still intact.

How do I get a table of the 50K records (tableA – tableB)?
 
G

Guest

hi

try this query

SELECT TableA.ID, TableA.NAME
FROM TableA LEFT JOIN TableB ON TableA.ID = TableB.ID
WHERE (((TableB.ID) Is Null));

pls let me know if it helps u

Thanx

With regds

Sunil.T
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top