Results 1 to 4 of 4
  1. #1
    Battlecat is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    2

    Left table NOT returning all results

    Hello:

    I have two tables.

    Table A has a list of ID numbers and course numbers. (175 rows)
    Table B has a list of ID Numbers and Test Scores. (10,000+ rows all unique)



    There are 175 rows in Table A. Some Students (6 to be precise) are taking two classes rather than just one. Therefor they are in this simple table twice both ID number and course. Yes I realize that this should not be but it is.

    When I do a join of the two tables I get 169 rows returned. Thus I deduce that 6 of my students are not showing. Logically I looked and yes the students who have enrolled in more than one course show only the first course and the second course is omitted.

    Can anyone tell my why this is?

    Thank you,

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Why not post the SQL you are using and someone may see the problem?

  3. #3
    Battlecat is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    2
    Solved this.
    Last edited by Battlecat; 11-02-2011 at 08:10 AM. Reason: Solved.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    And what happens if you remove the INNER JOIN as a test?

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

Similar Threads

  1. Replies: 5
    Last Post: 10-27-2011, 09:08 PM
  2. Dataset returning different results
    By Juan23 in forum Programming
    Replies: 8
    Last Post: 09-16-2011, 03:03 PM
  3. Replies: 3
    Last Post: 02-02-2011, 01:00 PM
  4. Query Bug? Not returning consistent results
    By trb5016 in forum Queries
    Replies: 4
    Last Post: 06-15-2010, 12:00 PM
  5. Query not returning all of the results
    By velvettiger in forum Queries
    Replies: 4
    Last Post: 03-11-2010, 06:56 AM

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