Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 275225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:43:51+00:00 2026-05-12T00:43:51+00:00

This is related to my previous question More than 1 Left joins in MSAccess

  • 0

This is related to my previous question More than 1 Left joins in MSAccess

The problem is that I have 3 left joins followed by an AND operator to check 1 condition.

If I run, then I am getting an error “Join Expression not supported”.

The query goes like this:

SELECT * FROM(( EMPLOYEE AS E  LEFT JOIN DEPARTMENT AS D ON E.EID=D.EID)
                 LEFT JOIN MANAGERS M ON D.DID=M.DID)
             LEFT JOIN MANAGERDETAILS MD  ON M.MDID=MD.MDID
 **AND E.ENO=MD.ENO**

If I take out AND part, it works fine.

Any idea?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T00:43:52+00:00Added an answer on May 12, 2026 at 12:43 am

    The way I would write this would be:

    SELECT EDM.*, MANAGERDETAILS.*
    FROM (
        SELECT ED.*, MANAGERS.*
        FROM (
            SELECT EMPLOYEE.*, DEPARTMENT.*
            FROM EMPLOYEE
            LEFT JOIN DEPARTMENT
            ON EMPLOYEE.EID = DEPARTMENT.EID
        ) AS ED
        LEFT JOIN MANAGERS
        ON ED.DID = MANAGERS.DID
    ) AS EDM
    LEFT JOIN MANAGERDETAILS
    ON EDM.MDID = MANAGERDETAILS.MDID
        AND EDM.ENO = MANAGERDETAILS.ENO
    

    Basically, you join tables one at a time and alias the result that you can then use for the next join.

    You can achieve arbitrarily complex Left joins in Access only by aliasing smaller subsets.
    Your double join clause probably doesn’t work because one of its members refers to a deeper resultset than the one that’s visible at that level of the query.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is related to my previous question , but a different one. I have
This question is related to a previous question of mine That's my current code
This question is related to my previous question . The storyline: I have an
This is a related to a previous question I have asked here, see the
This question ties to my previous question but is more specific. Say I have
This is related to my previous question , but it seems I have another
This is related to my previous question but it is a different problem. I
This is related to a previous question I asked with Jquery. If I have
Hello i dont know if this is related to a previous question that i
This question is related to my previous question, Creating a Rails partial that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.