Query help

  • Thread starter Thread starter Julie Smith
  • Start date Start date
J

Julie Smith

Hi everyone,
I want to create a query that finds records that are duplicated. An example
I have is a table, Parts, with three primary keys, partID, partFilename, and
partDirectory (this is just an example, not the actual table I have).

I want the query to show records that are have the same partFilename AND
partDirectory. Sample data (partID, partFIlename, partDirectory):
(1, 1.file, C:\)
(1, 2.file, C:\)
(2, 1.file, C:\)
(3, 3.file, C:\)

The query, when run, should show:
(1, 1.file, C:\)
(2, 1.file, C:\)

Can anyone help?

Thanks very much in advance,

Julie.
 

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

Back
Top