inblog logo
|
silver
    SQL문제풀기

    [SQL문제풀기] 기증품 비율 계산하기

    silver's avatar
    silver
    Sep 07, 2025
    [SQL문제풀기] 기증품 비율 계산하기
    Contents
    문제SQLite

    문제

    solvesql.com
    solvesql.com
    https://solvesql.com/problems/ratio-of-gifts/

    SQLite

    내가 작성한 정답

    select round(count(artwork_id)*100.0/(select count(artwork_id) from artworks )*1.0,3) ratio from artworks where credit like '%gift%';
    Share article

    silver

    RSS·Powered by Inblog