+ Reply to Thread
Results 1 to 4 of 4

Query Help - ambiguous outer join

  1. #1
    Registered User
    Join Date
    06-06-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    26

    Query Help - ambiguous outer join

    Hi guys,
    I'm currently doing some coursework and can't get my head around a query..

    I have a database, with 9 entities and I need to pull information off of 5 of them to create a customer invoice in Excel.

    As it's to do with customer orders, etc. it needs to be linked, but when I try to run the query I get an ambiguous outer join error.

    The 5 entities are:

    Member Details (Holds, names, IDs, etc.)
    Address Details (Holds member address)
    Member Order (Order details of members)
    Order Line (Order details of product and member order)
    Product (Product details)

    Wondering if anyone can help me with this?

    I have tried breaking the relationships, but I get hundreds of results, when i should only be a few dozen.

    Thanks..

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Query Help - ambiguous outer join

    Post your current SQL statement or upload your db for analysis. Can't help until we understand how your tables are joined.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    06-06-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Query Help - ambiguous outer join

    Hi,

    I can't seem to upload the database file, how do I produce an SQL statement? I'm using Access 2010.
    Thanks.
    =)

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Query Help - ambiguous outer join

    With your query open in QBE, look up to the left corner of the ribbon while on the Home tab. You will see a small Icon that looks like a spreadsheet. Next to it is a dropdown arrow. Select the arrow and then select SQL. An SQL window will open. Copy your SQL statement and paste it into a thread. Make sure to use the code tags.

    Alan

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1