Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 660 Bytes

_619. Biggest Single Number.md

File metadata and controls

36 lines (26 loc) · 660 Bytes

All prompts are owned by LeetCode. To view the prompt, click the title link above.

Back to top


First completed : May 22, 2024

Last updated : July 01, 2024


Related Topics : Database

Acceptance Rate : 67.62 %


Solutions

SQL

SELECT 
    MAX(num) AS 'num'
FROM (
    SELECT num
    FROM MyNumbers mn
    GROUP BY num
    HAVING COUNT(num) = 1
) AS unique_vals;