MLV Prasad - LeetCode SQL [ EASY ] | 1661 | "Average Time of Process per Machine" |

Поделиться
HTML-код
  • Опубликовано: 3 дек 2024

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

  • @ai.mlvprasad
    @ai.mlvprasad  Год назад

    Hi, this is MLV Prasad. (Mentor - Data Science & Analytics)
    If you are preparing for the Data scientist or Data analyst roles,
    Be sure to check out incredible resources, which will undoubtedly help you excel in your coding journey:
    🔗 RUclips Channel Playlists: bit.ly/mlvprasad_playlist
    🔗 GitHub Repository: bit.ly/mlvprasad_github_leetcode
    Want to have any personal guidance, connect with me via :
    🔗 Linkedin : bit.ly/mlvprasad_linkedin
    Make sure to subscribe to My channel, explore the GitHub repository for additional resources and to stay updated on the latest coding techniques and tips.
    Happy coding and learning!

  • @riitviksharma5932
    @riitviksharma5932 2 месяца назад +1

    This is the perfect explaination on youtube

  • @manisha4130
    @manisha4130 4 месяца назад +1

    Great Explanation. I was searching for the good explanation video for this sql problem. Gladd!! i found it.

  • @naveenvjdandhrudu5141
    @naveenvjdandhrudu5141 8 месяцев назад +4

    I really like your content and the way of explanation by showing schematic way using notepad plz keep it up bro.....my support to u always

    • @ai.mlvprasad
      @ai.mlvprasad  8 месяцев назад +2

      Tq very much for your kind response naveen

  • @manish6801
    @manish6801 Год назад +3

    the way you explained question and answer mindblowing. Keep it sir!

    • @ai.mlvprasad
      @ai.mlvprasad  Год назад

      Thanks a ton... These appreciations means a lot

  • @gradientO
    @gradientO Год назад +2

    wow bro the diagram to explain self join is top notch! you're doing great!!

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

    this question was marked easy, but i was confused about self join, your video rly explained well. thanks

  • @morishbhayani2195
    @morishbhayani2195 10 месяцев назад

    Nice explanation. Thank you👍👍

  • @deepikaverma6820
    @deepikaverma6820 Год назад +2

    Well explained.

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

    Nice!
    i have further optimised this and found out that this can be done without using subquery
    SELECT a.machine_id, ROUND(AVG(b.timestamp-a.timestamp),3) as processing_time
    from Activity a
    join Activity b on a.machine_id= b.machine_id
    and a.process_id = b.process_id
    and a.timestamp < b.timestamp
    Group by a.machine_id;

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

    nice explanation

  • @arnobdas6365
    @arnobdas6365 11 месяцев назад +1

    Really good content.

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

    thank you

  • @judgebot7353
    @judgebot7353 Год назад +2

    nice explanation mate

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

    Thanks 😊

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

    well explained keep going

  • @__abhay.__
    @__abhay.__ Год назад +1

    sir one doubt if we self join as you said that start and end will be combine so how the result will automatically gives the difference of the timestamp of a process?
    is by joining start and end column it automatically do difference?