Solved

Delete files in one table from another

Posted on 2014-11-13
2
178 Views
Last Modified: 2014-11-13
I have a table of duplicate entries in a Master table. I have saved those I wish to delete in the duplicate table.  How would I go about deleting those in the duplicate table from those in the Master table?
0
Comment
Question by:Serena2345
2 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40440468
What are the names of the tables, and the names of the primary keys (I assume they are the same between the two)?

Then it is:

Delete Table1.* from Table1
INNER JOIN Table2 ON Table1.PK = Table2.PK;
0
 

Author Closing Comment

by:Serena2345
ID: 40440478
Thx so much
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now