Self Join in SQL Server Examples | MSSQL Training Tutorial

Поділитися
Вставка
  • Опубліковано 5 гру 2016
  • ** For Online Training Registration: goo.gl/r6kJbB ? Call: +91-8179191999
    ? Visit Our Website for Classroom Training:
    nareshit.in/sql-server-training/
    ? For Online Training:
    nareshit.com/course/sql-serve...
    #sqlserver #server #programming #course #Tutorials #Training #Videos
    --------------------------
    --------------------------
    💡 About NareshIT:
    "Naresh IT is having 14+ years of experience in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA , Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA, Hyderabad, Chennai and Vijayawada, Bangalore India which provides online training across all the locations
    --------------------------
    💡 Our Online Training Features:
    🎈 Training with Real-Time Experts
    🎈 Industry Specific Scenario’s
    🎈 Flexible Timings
    🎈 Soft Copy of Material
    🎈 Share Videos of each and every session.
    --------------------------
    💡 Please write back to us at
    📧 us.training@nareshit.com/ 📧 online@nareshit.com or Call us at the USA: ☎+1404-232-9879 or India: ☎ +918179191999
    --------------------------
    💡 Check The Below Links
    ► For Course Reg: goo.gl/r6kJbB
    ► Subscribe to Our Channel: goo.gl/q9ozyG
    ► Circle us on G+: plus.google.com/+NareshIT
    ► Like us on Facebook: / nareshit
    ► Follow us on Twitter: / nareshitek
    ► Follow us on Linkedin: goo.gl/CRBZ5F
    ► Follow us on Instagram: goo.gl/3UXYK3

КОМЕНТАРІ • 120

  • @NareshIT
    @NareshIT  5 років тому +3

    Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL

  • @sergerudasingwa7638
    @sergerudasingwa7638 4 роки тому +1

    Thanks for your explanations. I tried several videos but couldn't understand. Now i get the concept of self join.

  • @kumarimalaka4178
    @kumarimalaka4178 3 роки тому +2

    Thank you so much sir really I saw many videos but I can't understand the concept but the way your explaing is too good.

  • @sansuthram538
    @sansuthram538 7 років тому +6

    MR.sudhakar sir your explanation is awesome .and these videos is very help full every student ....can you please upload the equi join and non equi join please

  • @lindawlch
    @lindawlch 4 роки тому +4

    Great job! Explained how self joins work when comparing the rows in the same column. Answered the questions that had confused me for a long time. Thank you!

  • @syedmurtazaali5343
    @syedmurtazaali5343 7 років тому +3

    great explanation and quiet helpful ..for learning the concepts please upload equipment and non equi join video

  • @bhupeshkumar667
    @bhupeshkumar667 5 років тому +1

    ur session of join is very worthful sir...thank you sir!

  • @Saavi2013
    @Saavi2013 6 років тому +1

    great explanation , last video ws great i cleared my all doubts ,,,,, thank u so much ... plz upload how to join 3 or 4 tables using

  • @anithachinna5434
    @anithachinna5434 2 роки тому +1

    I'm thankful to you always sir.. very understandable explanation..

  • @sumitaboro9680
    @sumitaboro9680 Рік тому

    Best tutorial video on self join so far. Thank you.

  • @pro_man801
    @pro_man801 3 роки тому +1

    Actually u r videos should be get 1 crore like 🙏

  • @Chillos100
    @Chillos100 4 роки тому

    Great Job, really clearly explained. thnx

  • @sajeedmohammad8448
    @sajeedmohammad8448 7 років тому +2

    sir nice explanation.. please upload EQUI JOINS AND NONO-EQUI JOINS and also Stored procedures..

  • @chandbashashaik1772
    @chandbashashaik1772 Рік тому +1

    Great explanation sir 💜
    Very easy understandable sir

  • @geethanampalli3134
    @geethanampalli3134 Рік тому

    excellent sir ....thank u so much given clear explanation.....i like your way of teaching ...

  • @varalaxmidevi1113
    @varalaxmidevi1113 2 роки тому

    Such a detailed video, thank you so much sir

  • @aloneking1934
    @aloneking1934 2 роки тому

    The way of explaination is Awesome sir❤️❤️❤️

  • @anilkumarancha9870
    @anilkumarancha9870 6 років тому

    well explained, thank you .

  • @ArifRaza
    @ArifRaza 10 місяців тому

    Wonderful lecture! quite easy to understand.

  • @MohammedAzhar1993
    @MohammedAzhar1993 4 роки тому

    Explained very nicely sir.

  • @everythinginthespace7383
    @everythinginthespace7383 2 роки тому +4

    there's a video missed about equi and non equi joins.. please upload it sir.. there's no discussion about non ansi joins of equi n non equi joins, these two topics are missed somehow..

  • @swapniljagatap3533
    @swapniljagatap3533 2 роки тому

    Thank you so much, Nice explanation!

  • @minamishail_Tech2024
    @minamishail_Tech2024 5 років тому +3

    Can we use this statement instead of self join ?
    Select e.* from EmpDetails e
    where e.Salary in (select salary from empDetails group by salary having count(salary)>1)

  • @hariananthagiri6838
    @hariananthagiri6838 2 роки тому +1

    I think we can do like thz after giveing where ename = smith we get total row details from that we can know salary was 8000 with that same where condition where salary = 8000 we can find other person details also who is haveing same salary that smith haveing . 😀

  • @chandankumardas7434
    @chandankumardas7434 2 роки тому

    GREAT JOB SIR,VERY GOOD TEACHING

  • @rahulgehlot5742
    @rahulgehlot5742 7 років тому +2

    pls upload equi n non equi join also its helpful

  • @ayazahmed9762
    @ayazahmed9762 7 років тому +23

    Sir, please upload the Equi And non-equi joint please

  • @ramramu1236
    @ramramu1236 2 роки тому

    awesome explonation, need to appreciate you

  • @ritabritabasak5652
    @ritabritabasak5652 2 роки тому

    Thank you Sir .... U saved me

  • @codingchannel001
    @codingchannel001 Рік тому

    Thank you sir absolutely understood

  • @tarunmahajan4050
    @tarunmahajan4050 6 років тому

    fantastic explanation

  • @yashjk899
    @yashjk899 2 роки тому

    Superb explanation sir thanks

  • @nrk2892
    @nrk2892 4 роки тому

    Thanks a lot sir 🙏

  • @a.n.7338
    @a.n.7338 7 років тому

    sir is it correct to say that non equi join is just like cross join except for the fact that the colums in which something is missing null is implemented???

  • @jananis1621
    @jananis1621 5 років тому

    excellent teaching

  • @mohansaivelagapudi929
    @mohansaivelagapudi929 3 роки тому

    Thanks for helping sir

  • @vssrao3917
    @vssrao3917 2 роки тому

    Hi sir your teaching lessions are awesome. i didn't see EQUI JOIN NON EQUI JOIN CONCEPT. PLEASE GIVE ME LINK IN THE DESCRIPTION. THANK YOU.

  • @christal9968
    @christal9968 2 роки тому

    thank you very much sir

  • @chandinimallidi2516
    @chandinimallidi2516 4 роки тому

    Thank you soooo much sir

  • @saritaahire9029
    @saritaahire9029 6 років тому +1

    sir ,where is equi ani non equi join . is uploaded or not?

  • @ajaykushawaha2118
    @ajaykushawaha2118 7 років тому

    sudhakar sir, plzs you explain store procedure of each part..
    and how's different to function and also explain function.

  • @arupchandra8602
    @arupchandra8602 2 роки тому

    Sel * from employeedetails where
    Salary in (select salary from employeedetails where ENAME= "SMITH")
    it should also work...

  • @TejaswiSureshSingsUSA
    @TejaswiSureshSingsUSA 3 роки тому

    Thank you sir :)

  • @RameshReddySeelam152
    @RameshReddySeelam152 2 роки тому +1

    Can anyone please suggest to me if I go through all 47 SQL server videos and practice 100% so do I get maximum knowledge on SQL server?

  • @sravankumar1767
    @sravankumar1767 3 роки тому

    nice explanation..

  • @shyamsundar8665
    @shyamsundar8665 2 роки тому

    Thanks for your time
    Question : which employees are getting same salary. .
    In this case... How we are giving static value as Smith...
    Instead we can use groupBy salary and take count and filter when count > 1

  • @ramakrishnavarma2534
    @ramakrishnavarma2534 7 років тому +1

    am waiting for equi join and non equi join video class plz upload it sir

  • @wasimahmad2010
    @wasimahmad2010 7 років тому +2

    pls upload equi n non equi join

  • @godblessyou2603
    @godblessyou2603 2 роки тому

    Expected Example Explanation with Self Referential Integrity Purpose: A FK referring to its own table PK.
    That helps, Thanks.

  • @akshaydeshpande8729
    @akshaydeshpande8729 3 роки тому

    Thank You Sir

  • @nageshchinna4684
    @nageshchinna4684 7 років тому +5

    SIR PLEASE UPLOAD EQUI AND NON- EQUI JOINT PLEASE PLESE SIR........

  • @yallasailakshmankumar2714
    @yallasailakshmankumar2714 7 років тому +1

    Sir U Did not Upload Equi and Non-Equi Join session Please Upload

  • @Dheeraj-ji9kl
    @Dheeraj-ji9kl 2 місяці тому

    Thankyou sir

  • @dinatjahanmilitasnim4614
    @dinatjahanmilitasnim4614 3 роки тому

    good explanation

  • @bhaskarreddy9042
    @bhaskarreddy9042 6 років тому +2

    SELF JOINS ONE VIDEO MISSED, WHICH CONTAINS EQUI-JOIN AND NON-EQUI-JOIN PLEASE ADD IT

  • @swapnavallepu2029
    @swapnavallepu2029 4 роки тому

    Simple explanation can understand any one......

  • @vamsialluri5358
    @vamsialluri5358 7 років тому

    sir, u didn't upload the equi join and non-equi join video session....

  • @rajunagadasari1160
    @rajunagadasari1160 Рік тому

    EXCELLENT

  • @mbabu3649
    @mbabu3649 3 роки тому

    Well sir I have one dout even we don't no empname or empsal how to do in this manner and how to compare?

  • @tapaskumarpanigrahi8022
    @tapaskumarpanigrahi8022 6 років тому

    Astronical explanation . mindblowing i am so excited ....
    ...

  • @josearieldelosreyes8102
    @josearieldelosreyes8102 5 років тому

    Thanks!

  • @pankajkharade8463
    @pankajkharade8463 4 роки тому

    great sir

  • @jahnavip812
    @jahnavip812 11 місяців тому +1

    Sir equi and non equi joins video is not found

  • @bhagamanusha1496
    @bhagamanusha1496 6 років тому

    Super

  • @nagmabanu7627
    @nagmabanu7627 4 роки тому

    Super sir

  • @manojphaju
    @manojphaju 6 років тому +1

    please upload EQUI and non-EQUI join

  • @chinkuvloger7013
    @chinkuvloger7013 Рік тому

    Sir, please upload equi-join & non equi-join video..

  • @AudioDestinyHQ
    @AudioDestinyHQ 3 роки тому

    nice

  • @nithyaprabakaran9631
    @nithyaprabakaran9631 2 роки тому

    Hai sir .. in play list where is ur class sir.. I searched but i cannt find ..

  • @morreppagarimohanreddy6770
    @morreppagarimohanreddy6770 6 років тому

    hi sir equi and non equi joins video is missed please upload it sir

  • @shabbirsonu9582
    @shabbirsonu9582 7 років тому +1

    select ENAME,SAL,JOB from emp where sal in(select sal from emp where ename='SMITH')

  • @sandeepmanjunath8004
    @sandeepmanjunath8004 Рік тому

    wasnt it simpler to use group by clause on salary column ?

  • @Chaitanya_Panchal
    @Chaitanya_Panchal 4 роки тому

    sir how to retrieve the data from more than two tables

  • @anilkumarancha9870
    @anilkumarancha9870 6 років тому

    here is the link for equi and non equi join explained by sudhakar sir, thank you sir.

    • @dharmendrapradhan6143
      @dharmendrapradhan6143 5 років тому +1

      where is the link?

    • @Sritezaa
      @Sritezaa 2 роки тому

      @@dharmendrapradhan6143 ua-cam.com/video/pmfATg5ciWQ/v-deo.html

  • @srinivasy8460
    @srinivasy8460 7 років тому

    sir u did not uploaded the equi and non equi join please up load

  • @PavanHandloomworks
    @PavanHandloomworks 7 років тому

    sir Equi,NON equi joins missed please add that video

  • @hemalatha-pk2hh
    @hemalatha-pk2hh 4 роки тому

    Missed to upload equi and non equi joins videos... Plz upload it ASAP.. Please

    • @balachandranr2658
      @balachandranr2658 3 роки тому

      Link for Equi and non-equi Joint . ua-cam.com/video/pmfATg5ciWQ/v-deo.html

  • @mukeshchandra9430
    @mukeshchandra9430 4 роки тому

    Sir you are not add eqi join and non eqi join in playlist

  • @manoharcharla5082
    @manoharcharla5082 7 років тому

    please upload the missed one

  • @donotsmile98
    @donotsmile98 2 роки тому

    👍👍👍👍👍👍👍👍👍👍

  • @rohanvelhal5077
    @rohanvelhal5077 6 років тому

    sir pllzzzzzzz upload equi and non equi join...

  • @shivshankargadade4926
    @shivshankargadade4926 2 роки тому

    Sir upload equi and non equi join

  • @rasheedabdul9028
    @rasheedabdul9028 6 років тому

    wh at do u mean by alias??

  • @vivek118611
    @vivek118611 4 роки тому

    I didn't understand this.. Its quite confusing... Thanks for other videos...

  • @Ajaykumar-hg2ki
    @Ajaykumar-hg2ki 7 років тому

    there is no video about equi join and non eqvi join

  • @nishamollick3404
    @nishamollick3404 6 років тому

    EQUI & NON-EQUI join are missing .....

  • @PRAVWAT
    @PRAVWAT 5 років тому

    Not uploaded join and equi join kindly upload

  • @rjfeelove
    @rjfeelove 6 років тому

    anyone having the link for Equi & NON-Equi join video :(

  • @raghavendraraj776
    @raghavendraraj776 Рік тому

    😎👍🏽

  • @srinivasrao-lw6xk
    @srinivasrao-lw6xk 3 роки тому +1

    You said ... we want to retrieve same employee salary from the table(don't give hint point). Why again u are taking Smith in this query..
    I don't know sryyy

    • @cococnk388
      @cococnk388 2 роки тому

      Yeah I think he just wanted to teach us how to use ALIAS...

    • @cococnk388
      @cococnk388 2 роки тому

      The query can be written as below:
      SELECT E.NAME, E.SALARY FROM EMPLOYE E, EMPLOYE A
      WHERE E.SALARY=A.SALARY and E.EIDA.EID;
      Hope it helps.
      Thanks

  • @shikhasingh3976
    @shikhasingh3976 4 роки тому

    But of we don't know the employee name

  • @aparnabhore9181
    @aparnabhore9181 6 років тому

    what if I don't know the employee name?

    • @tarunsirsath5110
      @tarunsirsath5110 5 років тому

      select * from empdetails e1 , empdetails e2
      where e1.salary = e2.salary and e1.eide2.eid

    • @raushanthakur661
      @raushanthakur661 4 роки тому

      @@tarunsirsath5110 Great

  • @raazverma8636
    @raazverma8636 5 років тому

    what if I don't know the employee name? u didnt explain;;;;;;;

    • @tarunsirsath5110
      @tarunsirsath5110 5 років тому +1

      select * from empdetails e1 , empdetails e2
      where e1.salary = e2.salary and e1.eide2.eid

  • @bharathsagar5683
    @bharathsagar5683 6 років тому

    Where is the link for Equi join video ?

  • @venkatramanj868
    @venkatramanj868 5 років тому +1

    Instructor seems to be technically strong but weak in language. If he improves that then his videos would be more useful to many people.

  • @praveshrikhari4026
    @praveshrikhari4026 3 роки тому

    SELECT * from table Where salary = 8000 should work

    • @cococnk388
      @cococnk388 2 роки тому

      It works if you have information about the salary

    • @cococnk388
      @cococnk388 2 роки тому

      The query below also works :
      SELECT E.NAME, E.SALARY FROM EMPLOYE E, EMPLOYE A
      WHERE E.SALARY=A.SALARY and E.EIDA.EID;

  • @Sritezaa
    @Sritezaa 2 роки тому

    Before Class Video which got missed on Equi Join and Non Equi Join Link ua-cam.com/video/pmfATg5ciWQ/v-deo.html

  • @Nissicollections
    @Nissicollections 3 роки тому +1

    Explanation is k.. But english must improve..

  • @databubbles6095
    @databubbles6095 3 роки тому

    For this one small topic, why you have taken this much time..boss😭

  • @saidurshamim
    @saidurshamim 7 років тому +1

    if you explain like this than student will be crazy. LOL