We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Apply
  • Hiring developers?
  1. Prepare
  2. SQL
  3. Basic Join
  4. Top Competitors
  5. Discussions

Top Competitors

Problem
Submissions
Leaderboard
Discussions

    You are viewing a single comment's thread. Return to all comments →

  • agrawalanish420
    4 months ago+ 0 comments

    select submissions.hacker_id,hackers.name from hackers inner join submissions on hackers.hacker_id=submissions.hacker_id inner join challenges on challenges.challenge_id=submissions.challenge_id inner join difficulty on challenges.difficulty_level=difficulty.difficulty_level where difficulty.score=submissions.score group by submissions.hacker_id,hackers.name having count(hackers.name)>1 order by count(hackers.name) desc,submissions.hacker_id asc

    0|
    Permalink
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy