Self-join example review in Books OnlineForcing Join OrderINTERSECT query rewrite as JOIN?Why do SQL Server...

How can guns be countered by melee combat without raw-ability or exceptional explanations?

What caused Doctor Strange to repent of his selfishness and become Earth's protector?

How does Artisan's Blessing handle rusted and mistreated weapons?

Identical projects by students at two different colleges: still plagiarism?

"Cheaper by the dozen" phrase origin?

Why is Shelob considered evil?

How to make my enemies feel real

Why are energy weapons seen as more acceptable in children's shows than guns that fire bullets?

Under which circumstances can »werden« stand at the end of a sentence?

ErrorListPlot crops error bars

Buying a "Used" Router

Manager has noticed coworker's excessive breaks. Should I warn him?

Run a command that requires sudo after a time has passed

Can I legally make a website about boycotting a certain company?

What is the Guild Die for?

Symbolism of number of crows?

Have a different color before and after a div with CSS

Short story in which aliens follow chain of increasingly ferocious/belligerent animals culminating with human child

Why is Bernie Sanders maximum accepted donation on actblue $5600?

How do sentient birds/theropods build their seats?

Is it possible to detect 100% of SQLi with a simple regex?

Why would you use 2 alternate layout buttons instead of 1, when only one can be selected at once

Rudeness by being polite

Found a major flaw in paper from home university – to which I would like to return



Self-join example review in Books Online


Forcing Join OrderINTERSECT query rewrite as JOIN?Why do SQL Server row estimates change when I add a join hint?Outer self join filters vs subqueriesSelf-join on primary keyself-joins in recursive CTE: `recursive reference must not appear more than once`?Want to perform a function on a returned table on subset of rowsJoining multiple subqueriesInner join on output of a subquerySQL Join to a Same Combination of Tables













0















enter image description here
Here in this example it states that performs a self-join, but it joins Sales.SalesPerson to Sales.SalesTerritory. I knew that self join means joining the same table to itself but here aren't Sales.SalesPerson and Sales.SalesTerritory different tables? So is this considered self join though the tables are different? or is there a mistake?



source link









share



























    0















    enter image description here
    Here in this example it states that performs a self-join, but it joins Sales.SalesPerson to Sales.SalesTerritory. I knew that self join means joining the same table to itself but here aren't Sales.SalesPerson and Sales.SalesTerritory different tables? So is this considered self join though the tables are different? or is there a mistake?



    source link









    share

























      0












      0








      0








      enter image description here
      Here in this example it states that performs a self-join, but it joins Sales.SalesPerson to Sales.SalesTerritory. I knew that self join means joining the same table to itself but here aren't Sales.SalesPerson and Sales.SalesTerritory different tables? So is this considered self join though the tables are different? or is there a mistake?



      source link









      share














      enter image description here
      Here in this example it states that performs a self-join, but it joins Sales.SalesPerson to Sales.SalesTerritory. I knew that self join means joining the same table to itself but here aren't Sales.SalesPerson and Sales.SalesTerritory different tables? So is this considered self join though the tables are different? or is there a mistake?



      source link







      sql-server t-sql self-join





      share












      share










      share



      share










      asked 3 mins ago









      ElGrigElGrig

      59314




      59314






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "182"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f230296%2fself-join-example-review-in-books-online%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Database Administrators Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f230296%2fself-join-example-review-in-books-online%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Anexo:Material bélico de la Fuerza Aérea de Chile Índice Aeronaves Defensa...

          Always On Availability groups resolving state after failover - Remote harden of transaction...

          update json value to null Announcing the arrival of Valued Associate #679: Cesar Manara ...