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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:03:09+00:00 2026-06-13T03:03:09+00:00

A B C D 1 3 3 3 3 3 The result is apparently,

  • 0
A B   C D
1 3   3 3
3 3  

The result is apparently, after natural joining

A B C D
1 3 3 3
3 3 3 3

Why is this? I thought natural join required there to be a similar attribute in the two cases? There’s not even a C or D attribute in the first table, so how could they join?

For instance, our prof said these two join because for the first resulting row, the C’s are the same, and the same for the second.

A B C    C D
1 2 3    3 1
4 5 6    6 2
7 8 9

Or do they just merge normally? If there was a 2 1 after 6 2 in the second table there, how would the merge appear?

  • 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-13T03:03:10+00:00Added an answer on June 13, 2026 at 3:03 am

    Cross joins do not require any sort of matching condition – every row in Set A is matched with every row in Set B.

    Other types of joins (INNER, OUTER, LEFT, RIGHT) all match on a condition and so are generally more limited (i.e. “only join a row of Set A with a row of Set B iff (if and only if) the value in the C column of Set A matches the value in the C column in Set B”).

    However, you can make such joins effectively CROSS joins by simply making the condition always be true:

    SELECT *
    FROM SetA
    LEFT INNER JOIN SetB
        ON 1 = 1  -- Voila, instant cross join
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

... // result is a JSON data passed to this function from outside var
var result = (from p in productInQuery join o in orderInfoQuery on p.refNo equals
var result = from lr in _db.LeaveRequest join th in _db.TotalHourslu on lr.TotalHoursEffect equals
var result = from lr in _db.LeaveRequest join th in _db.TotalHourslu on lr.TotalHoursEffect equals
What result is right for the following test cases? //Chrome 19 Opera 12 Firefox
I have the result of one API (FourSquare) giving me this.. [[4e01728f814d9dac7d52b93d,Bark Boutique,40.7143528,-74.0059731],[4d9f92dfaffda35d5db2a748,Bark Boutique,40.7143528,-74.0059731]]
This code used to work on Vista (and Windows XP) but after an upgrade
I realize there are several topics about this issue, but none provides a working
Apparently after reading the old title that was Why do questions like is ++i
This question is a result of what i noticed while trying to answer another

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.