inblog logo
|
silver
    SQL문제풀기

    [SQL문제풀기] Average Population

    silver's avatar
    silver
    Apr 19, 2025
    [SQL문제풀기] Average Population
    Contents
    문제MySQL, Oracle, MS SQL Server, DB2

    문제

    Average Population | HackerRank
    Query the average population of all cities, rounded down to the nearest integer.
    Average Population | HackerRank
    https://www.hackerrank.com/challenges/average-population/problem?isFullScreen=true
    Average Population | HackerRank

    MySQL, Oracle, MS SQL Server, DB2

    내가 작성한 정답

    // MySQL, Oracle, DB2 select round(avg(population)) from city; // MySQL, Oracle, MS SQL Server, DB2 select round(avg(population),0) from city;
     
    Share article

    silver

    RSS·Powered by Inblog