Lec-69: Difference between Joins, Nested Subquery and Correlated Subquery | Most Imp Concept of SQL

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 298

  • @ny2964
    @ny2964 4 ปีที่แล้ว +105

    Like am getting addicted to your videos 😂 ! Like seriously how perfect a clss can ne!?

  • @zeeshannadeem6319
    @zeeshannadeem6319 5 ปีที่แล้ว +119

    I'm from pakistan.I just want you to read this.I got A grade in my university exams in operating system just because of you.Couldn't understand what my teacher was teaching in class.So thankyou for your existence.God Bless you

    • @GateSmashers
      @GateSmashers  5 ปีที่แล้ว +45

      Ohh Great..Congratulations Zeeshan..Keep growing..lots of love and blessings

    • @manishajadhav9099
      @manishajadhav9099 4 ปีที่แล้ว +2

      @@GateSmashers tyttru ryt ans me trttytytytyy btytyt you My ttyyyry you ttyytytytyyty you My btyyrttyrtyrtttytyybryyyrrtyrtyyytyyyyyyyyyyyyytytyyryyyrtyrtyytytb you My try Betty ttyytytytyyty Tyr ytttyryytyryyyyttryyttryrbyyybttyryryyytyrtyytytyrrtyrtyrytryrryryyryyyttyyyyyyttytyrtyryyrtrtyryytyryyryrtyruryyryttyttyrbytytrytyttytuytytyytyyyyytytyyryyryytrtyrtyyyrtyyyyttyyyyyyrytyrytyttrrtyyyyrytyrtyrtyyrryyttyrytrbrytyryrybtyyyyyyyyryrytty

    • @krishankantmani817
      @krishankantmani817 4 ปีที่แล้ว +2

      @@manishajadhav9099 ye kon c language hai ...

    • @kundanbora5476
      @kundanbora5476 4 ปีที่แล้ว +6

      @@manishajadhav9099 binod

    • @universeboss4865
      @universeboss4865 4 ปีที่แล้ว +1

      @@manishajadhav9099 madam aap binod ho gyi h

  • @prameelakurakula6253
    @prameelakurakula6253 3 ปีที่แล้ว +40

    I'm getting too interested in DBMS and wanted to go depth.You are doing such a great job that is helpful to all upcoming students .
    U deserve all this likes , comments and appreciation.Tq🙂

  • @srijitanitamajumdar5904
    @srijitanitamajumdar5904 3 ปีที่แล้ว +36

    This representation of the different applications of the concepts that so frequently overlap in our minds, deserves one big Hats off!!

  • @vinitakeer515
    @vinitakeer515 4 ปีที่แล้ว +28

    You are too good sir...i am a faculty even I m learning teaching from you... Thanks a lot

    • @GateSmashers
      @GateSmashers  4 ปีที่แล้ว +12

      Thank you sir for giving us feedback

    • @hrishikeshmishra1929
      @hrishikeshmishra1929 2 ปีที่แล้ว

      @@GateSmashers Sir she is Ma'am.

    • @Farahat1234
      @Farahat1234 2 ปีที่แล้ว

      @@hrishikeshmishra1929 🤣🤣🤣🤣🤣🤣

  • @kalashnikov203
    @kalashnikov203 4 ปีที่แล้ว +12

    I came for a doubt video ended up watching the entire series, one of the best explanations thank you sir🙏

  • @shoaibsarwar679
    @shoaibsarwar679 3 ปีที่แล้ว +13

    The best explanation of subquery on the internet.

  • @ha-bf2xh
    @ha-bf2xh 4 ปีที่แล้ว +23

    From Afghanistan, I feel so lucky that I understand Hindi !!!!
    you have amazing content, keep it up!
    if I were the dean of my school, I would bring this guy and pay him twice as much as our current instructor is getting paid.

    • @nammi895
      @nammi895 3 ปีที่แล้ว +2

      Afghanistan and IT 🧐. Internet is a luxury in afgan, how can this ....

    • @mohammedumarfarhan9900
      @mohammedumarfarhan9900 3 ปีที่แล้ว +2

      @@nammi895 Afghanistan is becoming a peaceful country brother

    • @eren-qu9uu
      @eren-qu9uu 3 ปีที่แล้ว

      @@mohammedumarfarhan9900 really ? but news is telling different things

    • @mohammedumarfarhan9900
      @mohammedumarfarhan9900 3 ปีที่แล้ว

      @@eren-qu9uu yaa again things r starting to get crumbled

    • @eren-qu9uu
      @eren-qu9uu 3 ปีที่แล้ว

      @@mohammedumarfarhan9900 what do u think happen when taliban capture whole afghanisthan (which is more likely outcome of war)?
      does people able to leave normal life when this will happen?

  • @PythonisLove
    @PythonisLove 3 ปีที่แล้ว +8

    This video is very important. Everyone should watch this for University and GATE exams too

  • @SouravDasgupta1983
    @SouravDasgupta1983 3 ปีที่แล้ว +4

    Such effortless teaching!! May god bless you!

  • @fahmidaakter7595
    @fahmidaakter7595 2 ปีที่แล้ว +3

    Excellent explanation Sir.I am a Assistant Professor but still learning from your videos.Stay blessed.

  • @sudoupdate
    @sudoupdate 4 ปีที่แล้ว +280

    It really hurt me when this guy work so hard and make such amazing content and yet he has to request everyone to like his video.

    • @shashanksharma7747
      @shashanksharma7747 3 ปีที่แล้ว +2

      sahi bola bhai

    • @rameshmalhotra9525
      @rameshmalhotra9525 2 ปีที่แล้ว

      th-cam.com/video/5FsIa4Mp3ho/w-d-xo.html🙏🏻🙏🏻

    • @nadeemullashaik3340
      @nadeemullashaik3340 2 ปีที่แล้ว +1

      True..

    • @FalseYoutuber
      @FalseYoutuber ปีที่แล้ว +7

      Sir bolo na thi guy kya hota hai

    • @VRautulwar
      @VRautulwar 11 หลายเดือนก่อน

      Subscribe karo, aur Kiya hai to ,aur devices se kro kyuki subscribers bhot jaruri hai😅😅

  • @abhishekgupta4360
    @abhishekgupta4360 4 ปีที่แล้ว +5

    Sir This is the best tutorial on SQL that I have ever watched. Great work.

  • @shrishtyjain6971
    @shrishtyjain6971 5 ปีที่แล้ว +5

    really its very helpful and concepts are so clearly explained

  • @anuprakashsharma5518
    @anuprakashsharma5518 5 ปีที่แล้ว +10

    please make a video explaining simple assembly language programs, like adding two numbers etc.

  • @vaibhavgupta8856
    @vaibhavgupta8856 3 ปีที่แล้ว +2

    A1 quality teaching! I am amazed and lucky to find this channel. Thanks a lot!

  • @Be_Better_Than_Before
    @Be_Better_Than_Before 7 หลายเดือนก่อน +1

    Thanks, Sir
    One more advantage of 'join' is you can use columns from the department table too in the select clause.
    But in a subquery or correlated subquery we can only use columns from the employee table in the select clause.
    Please correct me if I am wrong.

  • @Vishalk_mandal
    @Vishalk_mandal 4 ปีที่แล้ว +5

    I watched many of your videos ,but i would like to thank you million times specially for the videos on subquaries and concurrency control ( variant of 2PL, Timestamp ordering protocol)
    , Thanks

  • @debuvlogs20
    @debuvlogs20 4 ปีที่แล้ว +2

    Thanks to you formaking these videos with elaborate things.I hope one day I get a good job in SQL.God Bless you.

  • @bhanu9033
    @bhanu9033 5 ปีที่แล้ว +5

    Thank u sir for uploading continously lecture

  • @shubhamkadam7224
    @shubhamkadam7224 3 ปีที่แล้ว +6

    i can see ur efforts ,ur knowledge and ur interest in teaching in depth so that concept gets more and more clear and it feels nice to see ur passion towards teaching...god bless u sir and stay always healthy and share ur knowledge with us....we are always eager to see u on screen with new concepts new content...thank u so much!

  • @abhilashwankhade5
    @abhilashwankhade5 4 ปีที่แล้ว +16

    I would like to ask you one question is How would you make the decision of writing Nested query and co-related query?

  • @sandip_1401
    @sandip_1401 10 หลายเดือนก่อน +2

    best teaching in you tube 💝👍👍

  • @sabuhiitrat9637
    @sabuhiitrat9637 2 ปีที่แล้ว +2

    World's Best TH-camr/Teacher/Helper.❤ Thankyouu so much

  • @alekyas4256
    @alekyas4256 5 หลายเดือนก่อน

    If tutor is such , students can understand rocket science also very easily... great job.

  • @BhaskarBharali
    @BhaskarBharali ปีที่แล้ว

    Your teaching method is very good, Thank you sir.

  • @shubhamnigam14
    @shubhamnigam14 3 ปีที่แล้ว +1

    ek he to dil ❤ hai sir je kitti baar jeeetoge

  • @thekidcook4015
    @thekidcook4015 3 ปีที่แล้ว +1

    The way you are explaning is very awsome!!!!!!!!!

  • @rsikchi2783
    @rsikchi2783 ปีที่แล้ว

    exlanant teaching 🤞👏🏼👏🏼
    All concepts are clear sir thank you for creating video on dbms
    Zabardast

  • @ankitkumar-ln3gs
    @ankitkumar-ln3gs 4 ปีที่แล้ว +2

    way of teaching is so good and clear all deep concept.

  • @swati8201
    @swati8201 4 ปีที่แล้ว

    First time itte ache teacher mile hai hume, kash ap jase facility hame mil jatte to har koi topper bun jata..
    Deep love and respect from me ❤️.

  • @krishnatagore5750
    @krishnatagore5750 ปีที่แล้ว

    thanks a lot for this comparision video. I was confused and frustated from previous individual videos......

  • @punamsoni9929
    @punamsoni9929 4 ปีที่แล้ว +1

    that's amazing thought that we compare thing which have something common..

  • @jovitalobo1273
    @jovitalobo1273 ปีที่แล้ว

    You are doing great work. Appreciate your knowledge and teaching skills..hats off. Thanks for sharing it with everyone

  • @pushkarratnaparkhi2205
    @pushkarratnaparkhi2205 3 ปีที่แล้ว

    You teach so well. You don't even need to ask for like. Great Job. Thanks

  • @nitinvijaykar4022
    @nitinvijaykar4022 2 ปีที่แล้ว +1

    Excellent explanation sir.

  • @mokshadakothari1265
    @mokshadakothari1265 3 ปีที่แล้ว +1

    Amazing way of comparing !!

  • @anasabbasi5449
    @anasabbasi5449 11 หลายเดือนก่อน +1

    Thank you Sir

  • @pgoswami1437
    @pgoswami1437 4 ปีที่แล้ว +1

    really helpful video sir , thankyou so much

  • @MadhuriKishorr
    @MadhuriKishorr 5 ปีที่แล้ว +2

    Excellent teaching , Thank you sir

  • @princeshetye7205
    @princeshetye7205 ปีที่แล้ว

    brother I like all of your videos and share with my friends.....you give so much of efforts and is very easy for me to understand....god bless you guru

  • @md.musfiqurrahaman8810
    @md.musfiqurrahaman8810 5 ปีที่แล้ว +3

    Varun vaia, I am from Bangladesh. Your videos are helping me a lot. Please upload the remaining videos as soon as possible.

    • @GateSmashers
      @GateSmashers  5 ปีที่แล้ว +2

      thank you dear..sure will upload soon

  • @navjiwanhira3888
    @navjiwanhira3888 3 ปีที่แล้ว

    Trade off between "Space" vs "Time"....Good one!!!

  • @GarimaChaudhary-g7w
    @GarimaChaudhary-g7w ปีที่แล้ว

    Thank you for sharing your knowledge. Your channel is one of best tutorial channel I have come across. This is my first comment since I joined youtube.

  • @ManpreetKaur-gk7ou
    @ManpreetKaur-gk7ou 2 ปีที่แล้ว

    Best explanation ever...thank you so much sir....m your fan now🥳🥳

  • @me59080
    @me59080 2 ปีที่แล้ว +1

    Great content from a great teacher.

  • @prabhneetsingh13
    @prabhneetsingh13 2 ปีที่แล้ว +1

    Thank you for this explaination, it was getting slightly confusing! Your work is really amazing!

  • @mohammadasif3052
    @mohammadasif3052 4 ปีที่แล้ว +1

    very helpfull. Please explain how to use subquery in Left outer join. thanks.

  • @animationcrust1993
    @animationcrust1993 4 ปีที่แล้ว +5

    Thank you for your efforts ❤️🤗🙏

  • @thanhvyho2195
    @thanhvyho2195 2 ปีที่แล้ว

    your explanation is suprisingly clear and detailed. subcribe immediately. Thank you so much

  • @anamikashree6129
    @anamikashree6129 2 ปีที่แล้ว

    Thanku soo much sir...your teaching style is awesome

  • @hemantkumawat3144
    @hemantkumawat3144 2 ปีที่แล้ว

    Really great ,always great 👍 teaching ,you tube will gives blessings 😀

  • @chitrakgarg1114
    @chitrakgarg1114 4 ปีที่แล้ว +2

    Good video...I just started watching your vdos... Can you please let me know diff b/w Varchar and nvarchar

  • @gopalchaudhary6170
    @gopalchaudhary6170 2 ปีที่แล้ว

    Sir aap bahut hi achhe faculty ❤️🙏

  • @avishgoswami2141
    @avishgoswami2141 3 ปีที่แล้ว +1

    Your teaching skills are really fabulous!!

    • @GateSmashers
      @GateSmashers  3 ปีที่แล้ว +1

      Thank you so much.. Keep learning and sharing

  • @mpanghal9801
    @mpanghal9801 3 ปีที่แล้ว +1

    Thank you so much sir for great efforts
    Keep it up👍👍

  • @tushartyagi3943
    @tushartyagi3943 3 ปีที่แล้ว +2

    Thank you so much sir ! for delivering us the most organized content in a less amount of time ....which is becoming very very helpful to me right now
    Thanks for your selfless support

  • @radhe7511
    @radhe7511 2 ปีที่แล้ว

    Thank you sm sir!!! All your videos are so helpful. When my clg teacher failed to explain these topics, you helped me! Thank you sm.

  • @sanchitwadehra
    @sanchitwadehra 11 หลายเดือนก่อน +1

    dhanyvad

  • @rababzehra-f5i
    @rababzehra-f5i 10 หลายเดือนก่อน +1

    Tata comparison part was good!

  • @kshitijsrivastava6148
    @kshitijsrivastava6148 5 ปีที่แล้ว +2

    Great video!Thank you sir!

  • @ravinakumaras5717
    @ravinakumaras5717 5 ปีที่แล้ว +1

    Wonderful explanation

  • @achillles6838
    @achillles6838 2 ปีที่แล้ว

    Your videos literally changed my life

  • @shahinparween3496
    @shahinparween3496 3 ปีที่แล้ว +1

    Thank you sir

  • @aditinageshwar3217
    @aditinageshwar3217 2 ปีที่แล้ว

    Thank you so much sir 😃Your content help me a lot for gate preparation

  • @mukulbansal8269
    @mukulbansal8269 3 ปีที่แล้ว +1

    good work sir

  • @anjaligour9830
    @anjaligour9830 ปีที่แล้ว

    Sir your video are really very helpful.... easiest explanation ever✨

  • @PradeepYadav-fg2yg
    @PradeepYadav-fg2yg 3 ปีที่แล้ว +1

    sir you are very good teacher and u really make learning fun....after every video i feel like we can't thankyou enough...but sad part is only 1lakh people have watched this amazing video...guys please share this playlist as much as u can this is the least we can do

  • @computerlearner7344
    @computerlearner7344 4 ปีที่แล้ว

    From all the students like me thanks from everyone's side.. plz share more knowledgeable things with us

  • @Rafay.__.mughal615
    @Rafay.__.mughal615 ปีที่แล้ว +1

    this guy is a legend
    you made me pass dbms

  • @SanketSharmasanket7317
    @SanketSharmasanket7317 3 หลายเดือนก่อน +1

    awesome

  • @kss2066
    @kss2066 3 ปีที่แล้ว

    Big thanks for clear explanation of the concepts

  • @md.masudrana4447
    @md.masudrana4447 3 ปีที่แล้ว

    Please sir solve this query:
    Emp( id,name, dept_id,salary)
    Dept(dept_id, dept name)
    Find max salary and average salary for specifics dept.

  • @geetanshusinghnegi2672
    @geetanshusinghnegi2672 2 ปีที่แล้ว

    Done Amazing work !! Thansk for this playlist

  • @mahathivasuki4388
    @mahathivasuki4388 2 ปีที่แล้ว

    Its very very useful. Thank you so much

  • @ajmalkhaniit
    @ajmalkhaniit 5 ปีที่แล้ว

    Thank you again
    Time analysis BHI sath main bata diya Karen taki ek idea rahega ki query Kitna time lega execute hone ke liye

  • @ArohiKc-np3jp
    @ArohiKc-np3jp ปีที่แล้ว

    Thank you bct engineering notes for suggesting me this channel. This was really helpful i understood the concept clearly and have successful created a project on relational database. Thank you Gate Smashers.

  • @gauravbisen3456
    @gauravbisen3456 3 ปีที่แล้ว

    You are just too awsome
    Concept looks too easy when you teach 😉😉😉

  • @divyaagarwal3563
    @divyaagarwal3563 2 ปีที่แล้ว +1

    Thankyou sir

  • @worldofjoy121
    @worldofjoy121 3 ปีที่แล้ว

    A nice example for compresion.

  • @kunalsingh5794
    @kunalsingh5794 5 ปีที่แล้ว +1

    Sir please complete the series of computer organization and architecture

  • @decodebyanshuvlogs194
    @decodebyanshuvlogs194 3 ปีที่แล้ว +1

    informative

  • @bruceWayne19993
    @bruceWayne19993 3 ปีที่แล้ว +1

    One cannot explain better than this

  • @rehanamulla6302
    @rehanamulla6302 4 ปีที่แล้ว

    Thank you for wonderful explanation

  • @srinivasaprabhu6657
    @srinivasaprabhu6657 3 ปีที่แล้ว

    Simple explanation thank you bro ...

  • @usharani-lt9mt
    @usharani-lt9mt 2 ปีที่แล้ว

    You ar doing such a great job u ar classes helped me lot

  • @Ritik_Mangal
    @Ritik_Mangal ปีที่แล้ว

    Dhanya ho prabhu

  • @diwaker8616
    @diwaker8616 ปีที่แล้ว +1

    Hi Varun, i found an issue if you can clarify in Correlated Subquery i.e.
    select * from emp where exists (select id from dept where emp.e_id = dept.e_id);
    in this Inner query from where we are counting 'id' from dept. table? From my side the query should be
    select * from emp where exists (select e_id from dept where emp.e_id = dept.e_id);
    Hope i could make sense.

  • @sumukhas5418
    @sumukhas5418 3 ปีที่แล้ว

    Very very helpful thankyou

  • @lovishdhingra801
    @lovishdhingra801 2 ปีที่แล้ว

    i am seriously telling i was very frustated about this topic but your video make the conceppt clear

  • @omkarbhandare7394
    @omkarbhandare7394 8 หลายเดือนก่อน +2

    sir can we do nested subquery for 3 tables if yes then plzz make a vedio on it

  • @shreenavkhandelwal4168
    @shreenavkhandelwal4168 3 ปีที่แล้ว +1

    I guess time taken is same in all the queries because it Joins as well when we do cross product, number of rows becomes m*n and then we do 1 comparison for each row, therefore total number of comparisons remain m*n.

  • @krishanudutta2943
    @krishanudutta2943 3 ปีที่แล้ว

    Hats off to u for ur hard work and dedication sir
    Thank u so much for these amazing playlist

  • @MrParshant007
    @MrParshant007 3 ปีที่แล้ว +1

    Amazing Explanation!!

  • @saurabhtiwari287
    @saurabhtiwari287 3 ปีที่แล้ว +3

    God of dbms

  • @computerlearner7344
    @computerlearner7344 4 ปีที่แล้ว

    Thank you so much sir... DDA me or videos upload kijiye na please.. you are the best I am great fan of you the way you teach... I promise I will share all your videos.. we want more from you... You are just adorable n great teacher

  • @istiqueahmed3919
    @istiqueahmed3919 6 หลายเดือนก่อน

    It is 4y passed people are still learning from your videos. After 10y people will still learn from your videos...

  • @takibahmed8859
    @takibahmed8859 3 ปีที่แล้ว +2

    Hello sir, since the three query is doing the same work, can you explain which of the three will give fast result? And why? Thank you 💖💖

    • @nishanthadda8824
      @nishanthadda8824 2 ปีที่แล้ว

      join then nested subquery then corelated subquery

  • @swapnilchorge7990
    @swapnilchorge7990 2 ปีที่แล้ว

    sir what if we have duplicate eid s in department table i.e. what if one employee is working in two depts, then correlated query will return duplicate values. great video overall

  • @mohitgupta7341
    @mohitgupta7341 3 ปีที่แล้ว +1

    wow!.....Amazing bro.