inblog logo
|
silver
    SQL문제풀기

    [SQL문제풀기] Basic Select 2~7

    silver's avatar
    silver
    Apr 01, 2025
    [SQL문제풀기] Basic Select 2~7
    Contents
    문제1 - Revising the Select Query IIMySQL, Oracle, DB2, MS SQL Server문제2 - Select AllMySQL, Oracle, DB2, MS SQL Server문제3 - Select AllMySQL, Oracle, DB2, MS SQL Server문제4 - Japanese Cities' AttributesMySQL, Oracle, DB2, MS SQL Server문제5 - Japanese Cities' NamesMySQL, Oracle, DB2, MS SQL Server문제6 - Japanese Cities' NamesMySQL, Oracle, DB2, MS SQL Server

    문제1 - Revising the Select Query II

    Revising the Select Query II | HackerRank
    Query the city names for all American cities with populations larger than 120,000.
    Revising the Select Query II | HackerRank
    https://www.hackerrank.com/challenges/revising-the-select-query-2/problem?isFullScreen=true
    Revising the Select Query II | HackerRank

    MySQL, Oracle, DB2, MS SQL Server

    내가 작성한 정답

    select name from city where countrycode = 'USA' and population > 120000;

    문제2 - Select All

    Select All | HackerRank
    Query all columns for every row in a table.
    Select All | HackerRank
    https://www.hackerrank.com/challenges/select-all-sql/problem?isFullScreen=true
    Select All | HackerRank

    MySQL, Oracle, DB2, MS SQL Server

    내가 작성한 정답

    select * from city;

    문제3 - Select All

    Select All | HackerRank
    Query all columns for every row in a table.
    Select All | HackerRank
    https://www.hackerrank.com/challenges/select-all-sql/problem?isFullScreen=true
    Select All | HackerRank

    MySQL, Oracle, DB2, MS SQL Server

    내가 작성한 정답

    select * from city where id = 1661;

    문제4 - Japanese Cities' Attributes

    Japanese Cities' Attributes | HackerRank
    Query the attributes of all the cities in Japan.
    Japanese Cities' Attributes | HackerRank
    https://www.hackerrank.com/challenges/japanese-cities-attributes/problem?isFullScreen=true
    Japanese Cities' Attributes | HackerRank

    MySQL, Oracle, DB2, MS SQL Server

    내가 작성한 정답

    select * from city where countrycode = 'JPN';

    문제5 - Japanese Cities' Names

    Japanese Cities' Names | HackerRank
    In this challenge, you will query a list of all the Japanese cities' names.
    Japanese Cities' Names | HackerRank
    https://www.hackerrank.com/challenges/japanese-cities-name/problem?isFullScreen=true
    Japanese Cities' Names | HackerRank

    MySQL, Oracle, DB2, MS SQL Server

    내가 작성한 정답

    select name from city where countrycode = 'JPN';

    문제6 - Japanese Cities' Names

    MySQL, Oracle, DB2, MS SQL Server

    내가 작성한 정답

    select name from city where countrycode = 'JPN';
     
     
    Share article

    silver

    RSS·Powered by Inblog