Results 1 to 2 of 2
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Alzano Lombardo, Italy
    Posts
    1,483
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Query to Add Table Column Values (2003)

    How come Query10 in the attached database produces more records(11904) than the number of records of the tables I used to start with(2976), considering I've inner joined the tables?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Query to Add Table Column Values (2003)

    Both tables have four records for each Data/Hour combination. So when you join them in a query on Data and Hour, each record in one table will be combined with four records in the other table. Since the tables have 2976 records, the query returns 4 * 2976 = 11904 records.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •