Author Topic: inner join v/s join  (Read 638 times)

0 Members and 1 Guest are viewing this topic.

Offline sayedsohailTopic starter

  • Enthusiast
    • View Profile
inner join v/s join
« on: September 03, 2007, 08:29:50 AM »
Hi,

Can someone explain the difference between inner join v/s join, Please.

thanks

Offline teng84

  • Fanatic
  • Gender: Male
    • View Profile
Re: inner join v/s join
« Reply #1 on: September 03, 2007, 09:09:09 PM »
i guess theres no difference between the two aside from declaring what type of join you want

Offline fenway

  • MySQL Si-Fu / PHP Resident Alien
  • Global Moderator
  • 'Insane!'
  • *
  • Gender: Male
    • View Profile
Re: inner join v/s join
« Reply #2 on: September 04, 2007, 05:08:55 PM »
i guess theres no difference between the two aside from declaring what type of join you want


JOIN implies INNER JOIN....
:anim_rules: Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

Offline teng84

  • Fanatic
  • Gender: Male
    • View Profile
Re: inner join v/s join
« Reply #3 on: September 04, 2007, 09:54:14 PM »
i guess theres no difference between the two aside from declaring what type of join you want


JOIN implies INNER JOIN....


yes i was thinking that way but i have tried join it self and it works and gives same output as inner join so i guess we cant say join implies inner join because join clause work without declaring what type of join you want

Offline fenway

  • MySQL Si-Fu / PHP Resident Alien
  • Global Moderator
  • 'Insane!'
  • *
  • Gender: Male
    • View Profile
Re: inner join v/s join
« Reply #4 on: September 06, 2007, 07:01:32 PM »
yes i was thinking that way but i have tried join it self and it works and gives same output as inner join so i guess we cant say join implies inner join because join clause work without declaring what type of join you want


What?
:anim_rules: Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

Offline teng84

  • Fanatic
  • Gender: Male
    • View Profile
Re: inner join v/s join
« Reply #5 on: September 06, 2007, 08:28:53 PM »
@fenway
you said join JOIN implies INNER JOIN....

but join it self works without inner join
i can do something like this

select * from table
join table1 on etccc....

also
select * from table
inner join table1 on etccc....

so i guess this question
Can someone explain the difference between inner join v/s join, Please.
deserve an answer (but not  join JOIN implies INNER JOIN.... )

well my bad because the only difference i knew about the two is what i have stated above

Offline btherl

  • Guru
  • Addict
  • *
  • Matt is the best!
    • View Profile
Re: inner join v/s join
« Reply #6 on: September 06, 2007, 11:22:06 PM »
Fenway is saying that join and inner join are identical.  The reason he said "implies" is because JOIN means INNER JOIN, and never any other type of join.

You've probably noticed that the results are identical for every example you try.  That's because they ARE identical for every example in the universe :)

Offline Illusion

  • Enthusiast
  • Gender: Male
    • View Profile
Re: inner join v/s join
« Reply #7 on: September 07, 2007, 11:27:19 AM »
Just like ORDER BY NAME ASC and ORDER BY NAME are same

JOIN defaults to INNER JOIN.
"Free as in freedom, not beer."

PHP Freaks Forums

« on: »

Tired of these ads? Purchase a supporter subscription to get rid of them.