my accepted solution


  • 1
    K
    Select distinct c.Name As Name
    from Candidate c
    where c.id = (Select CandidateId 
    from Vote
    Group by CandidateId  
    order by count(CandidateId) desc
    limit 1)
    
    
    
    
    
    
    
    
    

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.