SQL "difference between" interview questions (part 1)

Поделиться
HTML-код
  • Опубликовано: 7 июн 2024
  • In this video, we'll understand some important sql interview questions. These questions are often asked in interview and should be known by anyone who wants to master SQL.
    Following are the questions which will be covered in this video:
    1. Difference between where and having?
    2. Difference between union and union all?
    3. Difference between in and exists?
    This is part 1 of this video.
    Part 2 will be released tomorrow.
    In part 2, the following questions will be covered:
    4. Difference between group by and order by?
    5. Difference between join and sub query?
    6. Difference between join and union?
    ✨Work related mails can be sent on:
    work.sadiasiddiqui@gmail.com
    ✨If you appreciate my work and would like to donate to support our channel, you can do so here:
    paypal.me/sadia1702

Комментарии • 261

  • @madhurpalsokar7790
    @madhurpalsokar7790 4 года назад +23

    Best thing about your videos is You take very less time to cover many things and yet explaining it so beautifully.. Thanks for spreading the knowledge.. 👍🏻

  • @kunalgandhe4551
    @kunalgandhe4551 Год назад +1

    I've been looking for something like this from a long time.I've not seen any video where SQL is explained in such a simple and easy way. Thanks a lot for this.

  • @radhemohannaamhai
    @radhemohannaamhai 3 года назад +5

    The way she says sorry sorry ❤️.. great tutorial ..am following every video.. simple and to the point ..

  • @charlesmathews6184
    @charlesmathews6184 3 года назад +6

    I gained confidence from your teaching. Kudos

  • @sartz444
    @sartz444 2 года назад +1

    Hi, The best thing is that All of your videos are clearly explained in a short period of Time and it covers many things. I Really appreciate ur effort and please keep on continuing it🙏🙏 Thanks you so much

  • @dipakk123
    @dipakk123 3 года назад +3

    I am thankful that such a clear and knowledgeful information shared for all
    May God bless you for the helping and sharing
    thank you

  • @anvi015
    @anvi015 5 месяцев назад +1

    Amazing video series on SQL. Honestly this has been my ONLY goto channel whenever I feel I need to brush up my SQL coding skills.

  • @gauravnegi4312
    @gauravnegi4312 3 года назад

    THANK YOU SO MUCH!!!! Cleared all the doubts in a single go!

  • @tekieogubagabir43
    @tekieogubagabir43 4 года назад +1

    clear, simple and easy way of explanation , Thank you !

  • @suhailahamed7514
    @suhailahamed7514 2 года назад +3

    Thank you, sister, the way you teach is wonderful, stay blessed and happy forever. as a beginner, I admire your effort.

  • @rohanmali6583
    @rohanmali6583 3 года назад +3

    This and the second part is sooooo Awesome. You Rock. Blessings from United States. :)

  • @chandrassqlbi4343
    @chandrassqlbi4343 3 года назад +125

    Great job sis.. kudos!!
    Small correction @ 3:33 ---- 'Where' can be used while aggregating rows (Where and Group by works)
    'Where' will filter at Row level
    'Having' will filter at 'Group by' level
    No intention of pointing out mistakes here.. your channel is gaining popularity, and many are learning from this channel, great job!!. On the same lines - my two cents .. if that helps your viewers!!
    Oh, I haven't seen before - couple of others also mentioned about this correction.. great!! Good job!!
    (wouldn't have posted this if i have seen that earlier)
    Good job everyone!! Happy learning!!

    • @crackconcepts
      @crackconcepts  3 года назад +10

      Thank you 😊

    • @antonyjayaraj95
      @antonyjayaraj95 3 года назад +3

      I really like the way you explained and it is useful for me...

    • @praveengupta2369
      @praveengupta2369 3 года назад +1

      Sir I need to add few more points and let me know if I am wrong. If where clause is being used after the 'group by' statement this wouldn't work out. If we want SQL to use group by with where, 'where clause' should be used before Group by statement which actually filters the data from reference table first then grouping the data. Since, we are not using any aggregate function to group our data hence this group by also acts like order by. Disagree if I am wrong

    • @rameshmalhotra9525
      @rameshmalhotra9525 2 года назад

      ruclips.net/video/p0gL1pAhGZE/видео.html

    • @vaishalidharmik2038
      @vaishalidharmik2038 Год назад

      Thanks for this. I could have got wrong understanding now about using HAVING clause.

  • @sohailkat8867
    @sohailkat8867 4 года назад +5

    I have started watching your videos recently, believe me you are amazing the way explained just nailed it.Impressive work keep it up last but not least thank you.

  • @vS-mn9id
    @vS-mn9id 2 года назад

    God bless... very straight to the point... Perfect... Kudos to your work

  • @anunutan9220
    @anunutan9220 3 года назад

    Ur way of explaining concepts is simple and cool to understand soon....
    Tq for sharing videos..

  • @vivamedia5958
    @vivamedia5958 3 года назад +1

    Great tutorials. Thank You very much. looking forward for more videos from you.

  • @shreyjainhere
    @shreyjainhere 3 года назад +2

    Your voice is really sweet Mam.. A very good and simple way of explaining 👍

  • @archanapbhat5232
    @archanapbhat5232 2 года назад

    Thank you..Concepts clearly explained in short time..GOD bless you

  • @vminkook_lover782
    @vminkook_lover782 3 года назад +21

    Whatt a Amazing voice !!!😍😍🥰♥️
    & Explanation is also good 💜

  • @bootexcel5122
    @bootexcel5122 Год назад

    Nice. You are explaining things clear. Like inner query and outer query.

  • @tariqzaman2077
    @tariqzaman2077 2 года назад

    A good and knowledgeable video, thank you sister for sharing with us.

  • @Faisal1504
    @Faisal1504 3 года назад

    Thanks for sharing very well explained

  • @anujlovetube
    @anujlovetube 3 года назад

    Best sql channel ...thanks mam for this series and all effort u have put in

  • @virendrabhati6685
    @virendrabhati6685 2 года назад

    It was a great video of explaining such a complicated concepts 👍.

  • @shahzan525
    @shahzan525 3 года назад

    Most usefull .....
    Great work 👍

  • @kumarakrish3976
    @kumarakrish3976 2 года назад

    Proper explanation with great presentation 😊

  • @ajajjamadar
    @ajajjamadar 3 года назад

    Great job sister . Best tutorials I have ever seen . Keep it up

  • @nagoredeen
    @nagoredeen 3 года назад +47

    You can still use WHERE clause aggregated functions.
    Select max(column) from table where
    Meaning: select max out of a column value from a table with a filtered records based on a condition.

    • @ruturajjadhav8905
      @ruturajjadhav8905 2 года назад +8

      Yes.
      And we can't use having without group by

    • @nishiagarwal9869
      @nishiagarwal9869 2 года назад

      Yes

    • @rameshmalhotra9525
      @rameshmalhotra9525 2 года назад

      ruclips.net/video/QTaiF8N6i3Y/видео.html🙏🏻🙏🏻

    • @chilly2171
      @chilly2171 2 года назад +3

      This RUclipsr has no idea what she is talking about man....

    • @rameshmalhotra9525
      @rameshmalhotra9525 2 года назад

      ruclips.net/video/p0gL1pAhGZE/видео.html

  • @Sam_yemjala
    @Sam_yemjala 3 года назад +23

    What a voice dude , damn pleasant

  • @SameerShaikh-ty5zt
    @SameerShaikh-ty5zt 2 года назад

    Thank you.. Your way of explaining is sweet.

  • @331sairam
    @331sairam 2 года назад

    Straight concept clear voice ....cool

  • @deepakpandey9406
    @deepakpandey9406 2 года назад

    1. Aggregate
    2. Duplicate
    3. Scan and Boolean evaluation
    4. Position
    5. Performance
    6. Columns and Rows

  • @CodeWithFiroj
    @CodeWithFiroj 2 года назад

    Good one.

  • @itdp.warangal
    @itdp.warangal 2 года назад

    I think this video was done at election time. This video helped me now. Nyc1

  • @Kamil0289
    @Kamil0289 2 года назад

    Simply explained, thank you :)

  • @manognakarimi
    @manognakarimi 3 года назад +2

    To the point ,
    helped me.
    Thank you 😀

  • @prashantp9029
    @prashantp9029 2 года назад +1

    Good job mam👍👍
    Please upload more videos regarding plsql with examples as many as u can .
    Your explanation is tremendous ...

  • @anilb5557
    @anilb5557 2 года назад

    thank u mam such simple explaination about union i never understand my whole enginnering .....keep provide us such .. this type of information... thank u so mmuch ......🤗🤗🤗🤗🤗🤗🤗

  • @mukulverma9966
    @mukulverma9966 3 года назад

    You are explaining so good and your voice also amazing
    Great work mam

  • @zaidzeee
    @zaidzeee 3 года назад

    Amazing work keep it up

  • @gauravghosh8002
    @gauravghosh8002 3 года назад

    Thank you so much Ma'am for your detailed information. This helped me to brushed up

  • @yasmeenhasan9925
    @yasmeenhasan9925 2 года назад

    Thanks for the making videos! Its very very helpful

  • @vijaypanchal7344
    @vijaypanchal7344 Год назад

    Nice tutorial and clear voice to understand.

  • @bhushandatey5792
    @bhushandatey5792 2 года назад

    very well explained . I watched just one video & subscribed .

  • @buildtolearn
    @buildtolearn Год назад

    Love these videos. Great job!

  • @nelikantinagaraj4866
    @nelikantinagaraj4866 2 года назад

    Very very nice and simple methods with examples 😄😄😄 thank u for videos

  • @vipin2872
    @vipin2872 2 года назад

    Nicely explained. Mam

  • @jf1341
    @jf1341 3 года назад

    Very well presented 🙏 👌👌👏👏

  • @honestcomments8053
    @honestcomments8053 3 года назад +1

    Excellent video!

  • @malhotrapawan9001
    @malhotrapawan9001 Год назад

    Great👍

  • @sutharshansrikumar3001
    @sutharshansrikumar3001 2 года назад

    Very nice explanation

  • @hibasyed7646
    @hibasyed7646 3 года назад

    Helpful 👍

  • @samirdeshmukh9886
    @samirdeshmukh9886 6 месяцев назад

    Very helpful.. thank you..✨

  • @yokeshviswanathan1220
    @yokeshviswanathan1220 2 года назад

    amazing what a voice and you are explanation also awesome keep going

  • @sonukumar-pr2nc
    @sonukumar-pr2nc 4 года назад +1

    achha pdhati ho, keep it .

  • @user-pe9wc7ig2i
    @user-pe9wc7ig2i 2 года назад

    Great explanation, thank you, dear

  • @ajinkya820
    @ajinkya820 3 года назад +2

    You have a wonderful soft voice ..

  • @manikantatatvamasi7804
    @manikantatatvamasi7804 2 года назад

    NIcely explained, Thank you

  • @SureshKumar-ug4ep
    @SureshKumar-ug4ep 2 года назад

    Very nicely explained! and your voice is soooo sweet!
    Keep it up👍

  • @poojatiwari6290
    @poojatiwari6290 Год назад

    Nice way of explaining 👍

  • @gauravrawat5521
    @gauravrawat5521 2 года назад

    Your notes are so well define easy to understand

  • @crackconcepts
    @crackconcepts  3 года назад +28

    Hi, please watch the below linked video to understand the difference between WHERE and HAVING even better.
    ruclips.net/video/ggBXefD4UT8/видео.html
    ✨Link to my SQL e-book: imojo.in/rkajq9
    ✨Link to 'Switch your career easily' e-book: imojo.in/1FL7KaG
    (Perfect for anyone willing to switch to a completely new field or to a different company in the Tech World)

    • @bhuvananithu1466
      @bhuvananithu1466 2 года назад

      . mn

    • @ramireddygopalreddy4316
      @ramireddygopalreddy4316 2 года назад

      how to contact u mam

    • @afuhcyrilcheuck5032
      @afuhcyrilcheuck5032 2 года назад

      I need help , the other video you made explaining how you to find the second highest salary with MAX . It was
      Select MAX(salary) from employee
      Where salary < ( select Max
      (Salary) from employee ). Thats using an aggregated function with "where "which you just said otherwise

    • @balanagadurgasrilakshmi8562
      @balanagadurgasrilakshmi8562 Год назад

      Hii I want to
      Take course from you how can I contact you pls

    • @sumityerme3811
      @sumityerme3811 Год назад +1

      Thanku mam

  • @harshalpatil2009
    @harshalpatil2009 3 года назад

    Informative

  • @JinkaJayakrishna
    @JinkaJayakrishna Месяц назад

    Mam the way of explanation is super thanks for given valuable classes

  • @hadireg
    @hadireg 2 года назад +2

    Having is the only solution giving you the option to filter on the results of the aggregate function. Where can still be used on the other fields of the dataset before the aggregate functions are processed.

  • @varunwadekar7
    @varunwadekar7 3 месяца назад

    very helpful for the interview preparation

  • @Jooockerx
    @Jooockerx 2 года назад

    Nice and clear explanation, thank you very much from south yemen.

  • @narenderuggera1972
    @narenderuggera1972 3 года назад +84

    I became fan of your voice nd thanks for the most common interview question explained in great manner👍👍👍🙏

  • @shreyasjadhav7323
    @shreyasjadhav7323 Год назад

    Thanks for this video ...

  • @sivareddyalavala4425
    @sivareddyalavala4425 2 года назад

    Good explanation

  • @letsdoit6438
    @letsdoit6438 2 года назад

    Excellent explanation

  • @harshsugandhi07
    @harshsugandhi07 2 года назад

    Nicely explained 🔥

  • @AshokKumar-fm7xb
    @AshokKumar-fm7xb 3 года назад

    Good job 🙏

  • @bollywoodupdates1706
    @bollywoodupdates1706 2 года назад

    Thank you for the video!

  • @NikitaSharma-bs4gg
    @NikitaSharma-bs4gg 2 года назад

    Thanks - was so helpful

  • @netwkeng7101
    @netwkeng7101 3 года назад

    You are doing great job sister with husky voice

  • @Rohitkumar-vq1yk
    @Rohitkumar-vq1yk Год назад

    Thank you this has helped me a lot

  • @amanbhargava2702
    @amanbhargava2702 2 года назад

    Thank you sadia

  • @jvinaykumar3274
    @jvinaykumar3274 2 года назад

    Awesome voice and good explanation 😍

  • @ashutoshgaur8105
    @ashutoshgaur8105 2 года назад

    very nice voice, explained in good way

  • @mushiburrahamanmallick3372
    @mushiburrahamanmallick3372 2 года назад

    excellent

  • @leadprogrammer
    @leadprogrammer 3 года назад +5

    You do great efforts, aggregating those neatly written paper docs. It would require lot of hard work.
    Please give a try to ms word where changes or corrections also would be easier for you.
    And Mysql database with ms workbench which is opensource, would save your time and your efforts a lot.
    Great work, you would come up with flying colours. Best of luck...

  • @RahulGupta-fk4cz
    @RahulGupta-fk4cz 3 месяца назад

    Mam your voice is so sweet and the way of your teaching is also good

  • @A4Abhinav
    @A4Abhinav 3 года назад

    Awesome video

  • @tanushreenagar3116
    @tanushreenagar3116 2 года назад

    Nice mam 👍 thanks 😊

  • @kailastapase33
    @kailastapase33 2 года назад

    Your really great

  • @abhishekpandey4660
    @abhishekpandey4660 4 года назад +2

    Short,simple and clear explanation.. Really liked it so much:)

  • @ashokchandra4911
    @ashokchandra4911 2 года назад

    Nice tutorial didi

  • @ditasusilawati718
    @ditasusilawati718 3 года назад

    Makasih banyak mbak e. Ini membantu aku di ujian

  • @nishanthgaddam8426
    @nishanthgaddam8426 4 года назад +5

    We can use where clause and having too because we can filter non aggregated value and having count(emp_id)>=1 . Instead of using having emp_id>105 u shld have use where emp_id>105

    • @crackconcepts
      @crackconcepts  4 года назад +1

      Correct. Made a mistake there. Thanks for correcting! :)

    • @nishanthgaddam8426
      @nishanthgaddam8426 4 года назад

      @@crackconcepts No worries and thank you for educating us 😀😊

  • @ajinkya-eigteen5144
    @ajinkya-eigteen5144 3 года назад

    Thank you so much ....love you

  • @snuffshot9287
    @snuffshot9287 4 месяца назад

    Thank you 🙏

  • @ARPITTHEIRONMAN
    @ARPITTHEIRONMAN 4 года назад

    very nicely explained

  • @piyushkapil9598
    @piyushkapil9598 3 года назад

    Thanku so much please make more videos

  • @parthasarathyraja8917
    @parthasarathyraja8917 3 года назад

    Volume of teaching can be increased to hear well and understand.Thank you

  • @nicomentes156
    @nicomentes156 2 года назад

    Thank you very much!

  • @animoki9292
    @animoki9292 3 года назад

    Nice sister..Good

  • @yoshitamahajan353
    @yoshitamahajan353 3 года назад +1

    Thanks!

  • @SanjaySharma-rl3xu
    @SanjaySharma-rl3xu Год назад +1

    This is nice!

  • @chaithanyagosangi8950
    @chaithanyagosangi8950 3 года назад +3

    mam, please note the correction that, where can be used in your explanation for id, having is only used for aggregated filters.