HOW TO SOLVE QUERIES IN INTERVIEWS | MASTER IN SQL

Поділитися
Вставка
  • Опубліковано 1 лис 2024

КОМЕНТАРІ • 30

  • @clast842
    @clast842 4 роки тому +5

    8 years old kids can also learn it because of your good explanation.

  • @mitparekh4340
    @mitparekh4340 4 роки тому +7

    This channel is amazing. Never came across such a detailed explanation for SQL anywhere.

    • @crackconcepts
      @crackconcepts  4 роки тому +3

      Thank you 😊

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

      Can you please also have a playlist on datastructures and algorithms?

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

    Helpful

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

    Solved all my Doubts about like Everything related sql queries, best channel ever. :)

  • @ZenithMohadikar
    @ZenithMohadikar 5 місяців тому

    Amazing explanation, thank you

  • @biswadeepdutta2225
    @biswadeepdutta2225 3 роки тому +5

    The count in the Select statement shouldn't be count(occupation) instead of count (*)?

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

    You are doing an amazing job. Thank you very much

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

    Good work. Keep updating more such difficult interview queries.

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

    Your video(s) are really helpful.
    .
    I have tried this query - Just an update in place of " " we've to use ' '.
    Final query should look like :-
    SELECT CONCAT('There are a total of ',COUNT(*),' ',LOWER(Occupation),'s')
    FROM OCCUPATION
    GROUP BY OCCUPATION
    ORDER BY COUNT(OCCUPATION),LOWER(OCCUPATION).

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

      Why is it 'lower(occupation)' in the end?

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

      ​@@yourfavouriterecipes505 While sorting data in the ascending order.Sometimes we get output , where COUNT values are similar (for e.g: 2,2,....etc.), thats why she had used another column to sort data as per the requirement, due to which overhere [ lower(occupation) ] is added at the end of the code.
      .
      She has explained this in her video.Please skip and listen at 05:20.

    • @rosonerri-faithful
      @rosonerri-faithful 2 роки тому

      @@raviprakash5468 oh....so if there are 2 actors and 2 comedians..we'll we get 2 actors written first and then 2 comedians. Right?

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

    Awesome voice ❤️.... Beauty with brain

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

    plz keep uploading these kinds of videos

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

    Amazing videos saved my life

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

    Great video but one doubt, in another video you had use ' ' in concat but here used " " which of them is correct please mention

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

    Thankyou didi 🙏.... amazing videos 🔥

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

    Thanks a lot!!!

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

    Grt job..👍

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

    Nice sadia

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

    Will u able to share the dump

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

    What if the count of occupation is 1? Then how can be make sure that occupation doesn't print with 's' at the end.

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

    Group by should follow order by...

  • @AbhishekSharma-hy4nl
    @AbhishekSharma-hy4nl 3 роки тому

    So you did watch "friends"...

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

    Tricky queries tx

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

    Hi, I have learnt to join multiple tables from you. I want to send you a file and my question, please make a video on that. Please provide your email Id. Thanks in advance.