HR-SQL Revising the Select Query I

Jmnote (토론 | 기여)님의 2018년 8월 15일 (수) 17:55 판

1 개요

HR-SQL Revising the Select Query I
해커랭크 SQL
문제 DB2 MS SQL MySQL Oracle
HR-SQL Basic Select e
HR-SQL Revising the Select Query I
HR-SQL Revising the Select Query II
HR-SQL Select All
HR-SQL Select By ID
HR-SQL Japanese Cities' Attributes
HR-SQL Japanese Cities' Names
HR-SQL Weather Observation Station 1
HR-SQL Weather Observation Station 3
HR-SQL Weather Observation Station 4
HR-SQL Weather Observation Station 5
HR-SQL Weather Observation Station 6
HR-SQL Weather Observation Station 7
HR-SQL Weather Observation Station 8
HR-SQL Weather Observation Station 9
HR-SQL Weather Observation Station 10
HR-SQL Weather Observation Station 11
HR-SQL Weather Observation Station 12
HR-SQL Higher Than 75 Marks
HR-SQL Employee Names
HR-SQL Employee Salaries

2 DB2

/*
    Enter your query here and follow these instructions:
    1. Please append a semicolon ";" at the end of the query and enter your query in a single line to avoid error.
    2. The AS keyword causes errors, so follow this convention: "Select t.Field From table1 t" instead of "select t.Field From table1 AS t"
    3. Type your code immediately after comment. Don't leave any blank line.
*/
SELECT * FROM CITY
WHERE COUNTRYCODE='USA' AND population>100000;

3 Oracle

SELECT * FROM CITY
WHERE COUNTRYCODE='USA' AND population>100000;
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}