Hackerrank SQL Solutions | Challenges SQL Hackerrank Intermediate Problem

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024

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

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

    Many many thanks to you. Your step by step explanation of forming the query helped to me understand this complex question.

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

    I like the way that you don't directly put the solution but instead choose to show step by step procedure

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

      Thanks, I hope you can learn as much as possible from it :)

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

      @@thecodingmentor7701 Thanks. Could you do leetcode sql problems as well?

  • @rahultalwar4847
    @rahultalwar4847 4 หลายเดือนก่อน +1

    nicely explained sir, Thank you🤩

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

    The question says "If more than one student created the same number of challenges AND the count is less than the maximum number of challenges created". Can you explain why did you put keyword ""then" instead of AND between these two statement?

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

      Hi alisha, you are probably referring to my notes on the right side in line 18 where I write then. You are correct, it should say AND in that line. Thanks! :)

  • @harichandana2260
    @harichandana2260 3 หลายเดือนก่อน

    This is brilliant..

  • @HuyHuy-wy6vi
    @HuyHuy-wy6vi 2 หลายเดือนก่อน

    thanks you

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

    Excellent piece of work

  • @divyanshisharma4054
    @divyanshisharma4054 10 หลายเดือนก่อน

    Very awesomely explained. I absolutely loved it and didn't find a single channel explaining things in such minute detailing. Kudos to you, thanks a ton :)

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

    Thanks for posting this. Indeed very helpful. I ran the same code in MySQL and it is throwing some error. Can I use the With statement in MySQL?

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

      Yes, absolutely. You can use with Statement in MySQL. Find it here: dev.mysql.com/doc/refman/8.0/en/with.html

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

      @@thecodingmentor7701 Thanks for the great video, can you adjust the code so that it work in MySql, seems to not accep the With Clause

  • @vivekjoshi3769
    @vivekjoshi3769 10 หลายเดือนก่อน

    Wow this is much clear than the other solution I saw on discussion.
    Hey I have a question. These questions are filed under 'Medium' problems. So far out of 5 'Medium' problems I was able to solve only 2 & on other 3 despite spending more than 2 hours I got frustrated till the point where I felt I would fail if this level of question comes in the technical round of Database Engineer interview.
    What do you advice about how much time should I spend on one problem?
    I think 2 hours is too much + it creates a feeling of demotivation in me.
    Also do you do free 1:1 sessions(cannot pay at the moment but it's fine if you do only paid ones 😅) or if you on discord?
    I would like to connect and ask more. I am a career transitioner aiming to get better at SQL and get a job in data domain but it's a rough time for me. Would appreciate any way I could connect(ofc if you are ok)

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

      Hi Vivek, thanks for your comment. I dont find 2+ hours to solve a Problem too bad. It took me oftentimes as long as that to solve problems. Maybe take some breaks in between and go for a walk, get some fresh air, it helps your brain. I also made a video on solving hard problems, that you can watch. I dont do free 1:1 sessions but you can connect with me on LinkedIn (Video description). I also recommend keeping your profile on LinkedIn updated and share your progress there on your journey to get into the data domain.

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

    Brilliant ! When will we get the symmetric pairs question?

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

      Hi steven, thanks! It will take some weeks but in that time, enjoy the other sql hackerrank solutions ;)

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

    My hero

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

    Just Wow. Its so great how you explain it step by step. worth every single minute.

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

    Does anyone know why this doesn't work with MySQL?
    The error is:
    ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tbl_num_challenges as (
    SELECT
    h.hacker_id,
    h.name,
    COU' at line 1

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

      Hi Diftq, can you post the complete code where you get the error? It is not enough information to see whats wrong, thanks!

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

      @@thecodingmentor7701 I am getting the same error, its not working well with MYSQL

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

      ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tbl_num_challenges as (
      SELECT
      h.hacker_id,
      h.name,
      COU' at line 1

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

      would be grateful for your response on this

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

    Oh. Bro.. Finally i understood..Thanks

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

    Thank you my brother, you have great patience

  • @MohamedMagdy-00
    @MohamedMagdy-00 ปีที่แล้ว

    You know how to teach !! Many Thanks

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

    Thank you very much man after spending hours reading it was quite blurry but you explained it quite well within a few minutes cheers to you

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

    thank you this helped me.

  • @Pr3kashSingh
    @Pr3kashSingh 8 หลายเดือนก่อน

    thank you very much . I was struggling in it for long .

  • @MohanLal-lw7dd
    @MohanLal-lw7dd 2 ปีที่แล้ว

    Very very brilliantly explained. Thanks brother for making it easy for us...

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

      Thanks for your positive comments Mohan! Im glad you liked it

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

    Very Nicely explained!! Thank you so much.

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

    wow

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

    thank you for this explaination

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

    Thanks for posting this..

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

    Thank you so much. You are great.

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

    Can u plz give solution for sql intermediate for certification

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

      Hi Swarada thanks for your comment! Im currently studying myself a lot and cannot make videos. But I will pick it up again after my exams. Greetings

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

      dont go for certificate go for knowledge

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

      Hi swarada
      Its available now: th-cam.com/video/AfTPTGTPj9E/w-d-xo.html&ab_channel=TheCodingMentor