inblog logo
|
silver
    SQL문제풀기

    [SQL문제풀기] 최대값을 가진 행 찾기

    silver's avatar
    silver
    Mar 03, 2025
    [SQL문제풀기] 최대값을 가진 행 찾기
    Contents
    문제SQLite

    문제

    solvesql.com
    solvesql.com
    https://solvesql.com/problems/max-row/

    SQLite

    내가 작성한 정답

    select id from points where (id,x) = (select id, max(x) from points) or (id,y) = (select id, max(y) from points) order by 1 asc
     
    Share article

    silver

    RSS·Powered by Inblog