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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:16:00+00:00 2026-06-04T06:16:00+00:00

select a.somefield, b.someotherfield from a, b where a.key = b.key Is the above equivalent

  • 0
 select  a.somefield, b.someotherfield
 from    a, b
 where   a.key = b.key

Is the above equivalent to:

 select  a.somefield, b.someotherfield
 from    a join b on a.key = b.key

or:

 select  a.somefield, b.someotherfield
 from    a full join b on a.key = b.key

I am pretty sure it’s equivalent to an inner join but just realized I’d never really thought about it before. Also I’m wondering if there are any edge cases where it is not 100% equivalent?

  • 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-04T06:16:01+00:00Added an answer on June 4, 2026 at 6:16 am

    The original notion is equivalent to an inner join.

    Using the “where” syntax, there is no standard equivalent for any of the outer joins (left outer join, right outer join, full outer join). Oracle supports a “+” syntax, to represent the left and right outer joins.

    In addition, leaving out the condition in the where clause is equivalent to a cross join.

    However, you should get used to using the join syntax in the from clause. Once you get used to it, it is much clearer about the intentions of the query and much less prone to error.

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

Sidebar

Related Questions

I have a select statement select someFields from table1,table2 which is a cartesian join,
public function receiveDomainNames($keyword) { try { $stmt = $this->_dbh->prepare(SELECT d.someField FROM domain d WHERE
This is pseudo-code: Select count(score) from myTable join HisTable on myTAble.id = HisTable.id where
I want to do something like this: SELECT * FROM db.table WHERE COUNT(someField) >
I want to use left outer join like this: SELECT ... FROM Table1 LEFT
SELECT MAX(some_field) FROM table_A GROUP BY another_field This only gets the max value of
consider the following pgSQL statement: SELECT DISTINCT some_field FROM some_table WHERE some_field LIKE 'text%'
SELECT events.title FROM events ORDER BY events.title DESC I'm getting the proper ordering for
select @result=@input.query('*') for xml raw,type Above statement will generate following alert: Msg 6819, Level
SELECT sum(TotalHoursM) + (TotalHoursT) + (TotalHoursW) + (TotalHoursTH) + (TotalHoursF) AS TOTAL FROM LeaveRequest

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.