Friend Requests II: Who Has the Most Friends | Leetcode 602 | Crack SQL Interviews in 50 Qs

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

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

  • @learnwithchirag
    @learnwithchirag  8 месяцев назад

    Hey there! 👋 For more interesting content, tutorials, and updates, Feel free to connect with me on
    Instagram Handles :-
    @createwithchirag - instagram.com/createwithchirag/
    @learn.with.chirag - instagram.com/learn.with.chirag/
    LinkedIn: www.linkedin.com/in/chirag-sehgal-9200111b8/
    Let's stay connected and keep the creativity flowing! 💡

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

    Thanks bhaiya.

  • @nimbu_03
    @nimbu_03 11 месяцев назад

    bro, u really explained it well ! Best sql series on internet !

    • @learnwithchirag
      @learnwithchirag  11 месяцев назад

      Thanks a ton !....Do share with everyone 😄

  • @DIVYANSHAJAY
    @DIVYANSHAJAY 11 месяцев назад

    Nice Work sir! 👍

    • @learnwithchirag
      @learnwithchirag  11 месяцев назад

      Glad you liked it.
      Keep Supporting 💯

  • @prathamsharma4416
    @prathamsharma4416 7 месяцев назад

    loving you series

  • @HarshalDevre-x8w
    @HarshalDevre-x8w 3 месяца назад

    @Learn With Chirag why this problem cant be solved using self join plz answer

  • @khush.sandhu
    @khush.sandhu 9 месяцев назад

    Thanks

  • @ChandanSahoo-yi2tv
    @ChandanSahoo-yi2tv 5 месяцев назад

    WITH cte AS (
    SELECT requester_id AS id FROM RequestAccepted
    UNION ALL
    SELECT accepter_id AS id FROM RequestAccepted
    )
    SELECT id, count(id) AS num FROM cte GROUP BY id ORDER BY count(id) DESC LIMIT 1;