Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. left join and outer join

left join and outer join

Scheduled Pinned Locked Moved Database
question
9 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tsunamigang
    wrote on last edited by
    #1

    What is the difference between LEFT JOIN and LEFT OUTER JOIN?? i.e. what is the difference between INNER JOIN and OUTER JOIN?? I was confused with these two joins..

    T T 2 Replies Last reply
    0
    • T tsunamigang

      What is the difference between LEFT JOIN and LEFT OUTER JOIN?? i.e. what is the difference between INNER JOIN and OUTER JOIN?? I was confused with these two joins..

      T Offline
      T Offline
      tsunamigang
      wrote on last edited by
      #2

      I got the answer friends. Both are same. Then why the concept of outer join came??

      T 1 Reply Last reply
      0
      • T tsunamigang

        I got the answer friends. Both are same. Then why the concept of outer join came??

        T Offline
        T Offline
        Tim Carmichael
        wrote on last edited by
        #3

        When writing a query, I like to be explicit about what is intended to do. If I want only records with a match, they I say 'INNER JOIN'. If I want partial matches, I say 'LEFT OUTER JOIN' or 'RIGHT OUTER JOIN' based on how I feel like writing the query, but it is usually 'RIGHT OUTER JOIN'. Tim

        T 1 Reply Last reply
        0
        • T tsunamigang

          What is the difference between LEFT JOIN and LEFT OUTER JOIN?? i.e. what is the difference between INNER JOIN and OUTER JOIN?? I was confused with these two joins..

          T Offline
          T Offline
          thatraja
          wrote on last edited by
          #4

          Check this article Visual Representation of SQL Joins[^]

          thatraja

          Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute

          1 Reply Last reply
          0
          • T Tim Carmichael

            When writing a query, I like to be explicit about what is intended to do. If I want only records with a match, they I say 'INNER JOIN'. If I want partial matches, I say 'LEFT OUTER JOIN' or 'RIGHT OUTER JOIN' based on how I feel like writing the query, but it is usually 'RIGHT OUTER JOIN'. Tim

            T Offline
            T Offline
            tsunamigang
            wrote on last edited by
            #5

            Why cant we use left join instead of left outer join??

            T J 2 Replies Last reply
            0
            • T tsunamigang

              Why cant we use left join instead of left outer join??

              T Offline
              T Offline
              Tim Carmichael
              wrote on last edited by
              #6

              I did not write the design for whatever version of SQL is in use. My personal preference it to be explicit in what I am doing. If the version supports 'LEFT JOIN' and 'LEFT OUTER JOIN' and treats them the same, then use either one. Some SQL instances use different syntax; I just like the use to be obvious to the reader.

              T 1 Reply Last reply
              0
              • T tsunamigang

                Why cant we use left join instead of left outer join??

                J Offline
                J Offline
                Jorgen Andersson
                wrote on last edited by
                #7

                Left Join and Left Outer Join is the same thing. It's just a matter of verbosity in the syntax

                Politicians are always realistically manoeuvering for the next election. They are obsolete as fundamental problem-solvers. Buckminster Fuller

                T 1 Reply Last reply
                0
                • T Tim Carmichael

                  I did not write the design for whatever version of SQL is in use. My personal preference it to be explicit in what I am doing. If the version supports 'LEFT JOIN' and 'LEFT OUTER JOIN' and treats them the same, then use either one. Some SQL instances use different syntax; I just like the use to be obvious to the reader.

                  T Offline
                  T Offline
                  tsunamigang
                  wrote on last edited by
                  #8

                  ok dude.

                  1 Reply Last reply
                  0
                  • J Jorgen Andersson

                    Left Join and Left Outer Join is the same thing. It's just a matter of verbosity in the syntax

                    Politicians are always realistically manoeuvering for the next election. They are obsolete as fundamental problem-solvers. Buckminster Fuller

                    T Offline
                    T Offline
                    tsunamigang
                    wrote on last edited by
                    #9

                    ok . thanks for your reply.

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups