Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help With Union Query? ((a2k (9.0.6926) SP-3 Jet 4.0 SP-8) )

    Trying to build a union query, works OK until I put in group by zip, city, state, county

    Then I get

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

    Re: Help With Union Query? ((a2k (9.0.6926) SP-3 Jet 4.0 SP-8) )

    You shouldn't use the aliases in the Group By clause:

    ...
    GROUP BY tbl_ZipCodes.strZipCode, tbl_ZipCodes.strCity, tbl_ZipCodes.strState, tbl_ZipCodes.strCounty
    ...

  3. #3
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Help With Union Query? ((a2k (9.0.6926) SP-3 Jet 4.0 SP-8) )

    Thanks

Posting Permissions

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