Can we replace right join with left join

Sdílet
Vložit
  • čas přidán 5. 09. 2024
  • Why is right join required when we have left join | use of right join | why use right join instead of left join | is right outer join ever required | difference between left outer join and right outer join in sql | do we really need both left join and right join | Left vs right sql join
    Notes and Slides
    www.pragimtech...
    SQL Server Tutorial for beginners course page.
    www.pragimtech...
    SQL Server Tutorial for beginners playlist
    • SQL Server tutorial fo...
    SQL Server Interview Questions and Answers
    • SQL Server Interview Q...
    SQL Server Performance Tuning and Query Optimization
    • SQL Server Performance...

Komentáře • 43

  • @KhalidAfridi1
    @KhalidAfridi1 Před 3 lety +8

    All your videos and lectures are so easy to understand. I learnt a lot from you. I'm a software engineer now. Thank you so much.

  • @saedibrahim7391
    @saedibrahim7391 Před 3 lety +10

    Thank you Sir
    We are waiting the sql performance series.

    • @chezchezchezchez
      @chezchezchezchez Před 3 lety

      I’ll leave the guy alone. He already addressed this 100 times

    • @saedibrahim7391
      @saedibrahim7391 Před 3 lety

      @@chezchezchezchez
      You know Performance is required for every where, he already shared videos about it, but if possible we would like more 🙂

  • @ashajyothi06
    @ashajyothi06 Před 3 lety +7

    Thank you venkat your just Awesome nothing can match your level of perfection✍😇🤴💯🥳🙏

  • @narendrag4499
    @narendrag4499 Před 3 lety +4

    Please continue performance tuning series ❤️

  • @murugesankgm1297
    @murugesankgm1297 Před 3 lety +1

    You have ubnormal skill in teaching. We expect more videos on sql performance.

  • @koushikdey100
    @koushikdey100 Před 3 lety +3

    Waiting for your performance tuning video.. Please 🙏continue on that post..

  • @SahilSharma-mv9jf
    @SahilSharma-mv9jf Před 3 lety +1

    Hi Venkat, good to see these video again from your channel.
    Could you please give a sql tuning video with interview question(concurrently)

  • @krishna6296
    @krishna6296 Před 3 lety

    Thank you Venkat. I have seen all your previous sql videos. Good to see that you've started again with more presentable way. Pls create videos on new functions in sql.

  • @atinganger3613
    @atinganger3613 Před 3 lety +2

    Please continue performance tuning series

  • @pankajraturi1972
    @pankajraturi1972 Před 3 lety +3

    Sir, could you please continue performance tuning videos.

  • @somyadas6548
    @somyadas6548 Před 3 lety +1

    Thanks for sharing valuable knowledge. Please make videos on Performance Tuning with some real time scenarios. Thank you in advance !

  • @pushkarrathod1698
    @pushkarrathod1698 Před 3 lety +2

    Nice video. Thanks for sharing. Actually this is also a good interview question " Can we achieve the same result in Left Join instead of Right join or vise a versa without affecting performance ? "

  • @remmykesh5533
    @remmykesh5533 Před 3 lety

    Thank you Venkat for this great video, I always learn a lot from your video.

  • @sumersinghrana8868
    @sumersinghrana8868 Před 3 lety +1

    Please making video on Microsoft Azure?

  • @HiYoutuberLog
    @HiYoutuberLog Před 3 lety +1

    Thank you sir ji

  • @epuriraghavendra3847
    @epuriraghavendra3847 Před 3 lety +1

    Please make a video on how to join tables without using JOIN clause

  • @satyamahesh89
    @satyamahesh89 Před 3 lety

    Hello sir, please continue performance tuning series as well

  • @madhupeddinti12345
    @madhupeddinti12345 Před 3 lety

    Performance tuning please 👍👍👍

  • @nimishanandakumar9019
    @nimishanandakumar9019 Před 2 lety

    Hi have always used your sql videos, since 2016, Would you please start session on the DB administration and also Power BI if possible.

  • @poornaps
    @poornaps Před 3 lety +1

    Thank you very much...

  • @swapnilsonawane7472
    @swapnilsonawane7472 Před 3 lety

    This question I have asked in the interview

  • @hasyahaven
    @hasyahaven Před 2 lety

    Hi Sir, Is there an example where both left and right join can be used together as you mentioned in a scenario with 3 or more table joins is required. Can you show an example to understand. It will be very helpful.

  • @pritamjadhav9660
    @pritamjadhav9660 Před 3 lety +1

    SQL string function video plz

  • @kedugangurde1840
    @kedugangurde1840 Před 3 lety

    Thanks to you sir... proud of you

  • @bharathreddy3717
    @bharathreddy3717 Před 8 měsíci

    I was asked in an interview if LEFT JOIN can do the same task as RIGHT JOIN by reserving the order of the tables in join, why does RIGHT JOIN exists?

  • @foolchandsonariwal4203

    Sir, how can we add row number to table without using row_number fucntion just like rowid in oracle, please create video on it.

  • @swapnilpatil4179
    @swapnilpatil4179 Před 2 lety

    How we can seperate positive and negative numbers from only one column in table is given

  • @shanmukhapatil7131
    @shanmukhapatil7131 Před 3 lety

    Please do a video on token based web api
    Oauth in web api .
    Thanks

  • @cgrinseo7752
    @cgrinseo7752 Před 3 lety

    Thank you, sir!

  • @faitiera9506
    @faitiera9506 Před 3 lety

    Great video! Can you do a video on filestream ?

  • @dusangraovac2645
    @dusangraovac2645 Před 3 lety

    Thank you Vankat, great video as always.
    You have patreon?

  • @swarooppabbineedi1820

    Can anyone please tell in video 17 of this Playlist, it was told that all inner, left, right, full and Cartesian joins return same row count but here in this video, it is not the same where different joins have different row counts like inner have 2 rows and left and right have 3 each.. why it is like that.. Can anyone please say..

  • @uzairlodhi2730
    @uzairlodhi2730 Před 2 lety

    I was aked to return students who have not paid fee for the 6th month without using NOT EXIST and NOT IN.. There were two tables of Student and StudentFee with student_id as foreign key in StudentFee Table.

    • @ryuzaki6865
      @ryuzaki6865 Před 2 lety

      It would be easier to answer if you could provide both the Table's structure, preferably with Data.
      Till then I'm assuming "StudentFee" Table has 2 Columns- "FeeDate" of DateTime type and "Student_ID" of int type acting as the Foreign Key. And "Student" Table has 2 columns - "Student_ID" of int type as the Primary Key and "StudentName" of varchar(50) type. I'm also assuming the "FeeDate" Column of "StudentFee" Table has records comprising of multiple dates and not just dates for the 6th month, and January is the month of start of Academic Year according to which 6th month would be = June, if 6th month in your case is different based on different starting month of Academic Year then you need to replace the value of month accordingly-->
      With cteGetStudentNames
      As
      (
      Select * From StudentFee
      Where MONTH(FeeDate) = 6 --This value represents June, change this value according to your 6th month
      )
      Select Student.StudentName
      From cteGetStudentNames
      Right Join Student
      On cteGetStudentNames.Student_ID = Student.Student_ID
      Where cteGetStudentNames.FeeDate IS NULL

  • @lalitbhatt6696
    @lalitbhatt6696 Před 3 lety

    Superb sir

  • @avirajankitjain256
    @avirajankitjain256 Před 3 lety

    How to do partitioning in SQL please. Explain

  • @VCKLYTech
    @VCKLYTech Před 3 lety

    Good info.

  • @nimanthakumara9479
    @nimanthakumara9479 Před 3 lety

    Super ♥️

  • @vaibhavutekar8215
    @vaibhavutekar8215 Před rokem

    Inner join