most asked scenario based sql Interview question & answer | no of Records of 5 types of joins

Поділитися
Вставка
  • Опубліковано 15 вер 2024
  • SQL Tips and Tricks
    In this video we will discuss SQL Join based interview question where you need to tell no of records in output when you are joining of 2 tables.
    This question is very important from interview point of view as well join understanding point of view.
    It is a must watch concept.
    Find Us On UA-cam- "Subscribe Channel to watch Database related videos" / @ssunitech6890
    For SQL Quiz-
    • sql server : Interview...
    Find Us On FaceBook-
    / ss-unitech-18770538867...

КОМЕНТАРІ • 35

  • @swarooppabbineedi1820
    @swarooppabbineedi1820 Рік тому +7

    The same question was asked to me. May be that interviewer watched this video and asked me that question along with the same values. I know about joins concept but could able to answer it.. Thanks for the video.

  • @harinadhbabu309
    @harinadhbabu309 Місяць тому +1

    Well explained, Thank you 🙏

  • @vaibhavdalvi8570
    @vaibhavdalvi8570 Місяць тому +1

    Awsm approach to teach

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

    One of the best!

  • @priyabhandarkar6958
    @priyabhandarkar6958 7 місяців тому +1

    Very nice explanation 👏👏

  • @anky986
    @anky986 Рік тому +2

    Please make a video on query optimization step by step

  • @RK-wf7re
    @RK-wf7re 10 місяців тому +1

    Good content, in right outer sequence should be 3,3,2,2,2 right or am I doing something wrong. Plz correct me if I am wrong

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

    Yes this is the most common question.

  • @WolfmaninKannada
    @WolfmaninKannada 2 місяці тому +1

    Tq sir

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

    Nice ❤

  • @goluSingh-su1xs
    @goluSingh-su1xs Рік тому +1

    Simple ❤️

  • @HariKrishna-rf8eq
    @HariKrishna-rf8eq Рік тому +3

    Sir Can you please do video on query optimization

  • @shivayshakti6575
    @shivayshakti6575 6 місяців тому +1

    literally was asked twice - paytm and zepto

  • @lkkota41
    @lkkota41 Місяць тому

    thank u for explaining,,,Can some please explain below

    Table1 Table2 inner join left join right full join cross join
    Sample1 52 Sample1 52 1 5 7 9 10 49
    Sample2 53 Sample21 53 0
    Sample1 48 Sample11 48 1
    Sample3 48 Sample22 70 1
    Sample4 52 Sample3 48 0
    Sample5 54 Sample41 52 1
    Sample5 20 Sample5 54 1
    SQL query for full join is showing 11 records and I see NULL values.. NOT sure why
    Name age
    Sample1 52
    Sample2 53
    Sample1 48
    Sample3 48
    Sample4 52
    Sample5 54
    Sample5 20
    NULL NULL
    NULL NULL
    NULL NULL
    NULL NULL

  • @Moonlight-u9u
    @Moonlight-u9u 10 місяців тому +1

    How about space ?

  • @komalchaudhari7067
    @komalchaudhari7067 7 місяців тому +1

    I didn't get full join

    • @ssunitech6890
      @ssunitech6890  7 місяців тому

      It's multiplication of no of rows in left and right tables.
      Eg- 4 rows in left, and 5 rows in right then output will be 4×5=20.

    • @minalgupta189
      @minalgupta189 6 днів тому

      @@ssunitech6890 this is cross join not full join right if you are multiplying

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

    How to contact you