Results 1 to 3 of 3
  1. #1
    gmaster is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    May 2014
    Posts
    32

    Query, find duplicates

    Hi! I have a tab with "Name" and "Surname" fields among others. And i'm struggling in the easy task of writing a query that can find all the records with the same name and surname....Ideas?
    Thanks!!

  2. #2
    gmaster is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    May 2014
    Posts
    32
    Ok, solved on my own
    Thx anyway!

  3. #3
    lfpm062010 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    US
    Posts
    415
    Try, if the table name is "TABLENAME" with field "NAME" and "SURNAME".

    SELECT TABLENAME.NAME, TABLENAME.SURNAME
    FROM TABLENAME
    WHERE TABLENAME.NAME = TABLENAME.SURNAME;

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 02-09-2014, 07:25 PM
  2. Replies: 5
    Last Post: 04-25-2013, 02:38 PM
  3. Find Duplicates Query - Excluding Items
    By Wahnsinn in forum Queries
    Replies: 1
    Last Post: 11-17-2011, 07:27 AM
  4. Find duplicates query to populate input form
    By kctalent in forum Queries
    Replies: 6
    Last Post: 08-22-2011, 03:12 PM
  5. Find Duplicates Query
    By mulefeathers in forum Queries
    Replies: 13
    Last Post: 04-22-2010, 05:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums