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 8024339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:50:34+00:00 2026-06-04T22:50:34+00:00

While debugging into some Oracle code, I came across this query: SELECT TPM_TASK.TASKID FROM

  • 0

While debugging into some Oracle code, I came across this query:

SELECT TPM_TASK.TASKID FROM TPM_GROUP 
INNER JOIN TPM_USERGROUPS ON TPM_GROUP.GROUPID = TPM_USERGROUPS.GROUPID 
INNER JOIN TPM_TASK
INNER JOIN TPM_GROUPTASKS ON TPM_TASK.TASKID = TPM_GROUPTASKS.TASKID 
INNER JOIN TPM_PROJECTVERSION ON TPM_TASK.PROJECTID = TPM_PROJECTVERSION.PROJECTID AND TPM_TASK.VERSIONID = TPM_PROJECTVERSION.VERSIONID 
INNER JOIN TPM_TASKSTAGE ON TPM_TASK.STAGEID = TPM_TASKSTAGE.STAGEID 
INNER JOIN TPM_PROJECTSTAGE ON TPM_PROJECTVERSION.STAGEID = TPM_PROJECTSTAGE.STAGEID 
ON TPM_GROUP.GROUPID = TPM_GROUPTASKS.GROUPID

I’m confused by the line:

INNER JOIN TPM_TASK

I haven’t seen a JOIN without an ON clause before. Also confusing is the line:

ON TPM_GROUP.GROUPID = TPM_GROUPTASKS.GROUPID

This seems like a random ON clause without any matching JOIN. The query runs without any errors, and returns a bunch of data, so obvious the syntax is perfectly valid. Can someone shed some light on exactly what’s going on here?

  • 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-06-04T22:50:37+00:00Added an answer on June 4, 2026 at 10:50 pm

    Small universe… I ran across a tool generating this syntax yesterday and was rather flummoxed.

    Apparently,

    FROM a 
         INNER JOIN b
         INNER JOIN c ON (b.id = c.id)
         ON (a.id = c.id)
    

    is equivalent to a nested subquery

    FROM a
         INNER JOIN (SELECT <<list of columns>>
                       FROM b
                            INNER JOIN c ON (b.id=c.id)) c
                 ON (a.id = c.id)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i get this dialog while debugging code in visual studio 2008. (your step-into request
While debugging my code in eclipse IDE, the code enters into some class files.
From times to times, while debugging an Application, I see this error on Xcode:
While debugging Java code that uses reflection in Eclipse, some times I need to
While working with some jQuery ajax, I've run into this problem with Chrome and
I often accidently step into code that I'm not interested in while debugging in
While debugging crash in a multithreaded application I finally located the problem in this
While debugging a .NET Framework 3.5, WinForms application I spotted some Worker Threads without
I'm having some trouble with this code. I am trying to write a function
I would like some insight into an error I'm receiving: Managed Debugging Assistant 'FatalExecutionEngineError'

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.