"HR-SQL Population Density Difference"의 두 판 사이의 차이

(새 문서: ==개요== ;{{subst:PAGENAME}} * {{HR-SQL 헤더}} {{HR-SQL Aggregation}} |} <source lang='sql'> </source>)
 
1번째 줄: 1번째 줄:
==개요==
==개요==
;HR-SQL Population Density Difference
;HR-SQL Population Density Difference
*
* https://www.hackerrank.com/challenges/population-density-difference/problem


{{HR-SQL 헤더}}
{{HR-SQL 헤더}}
7번째 줄: 7번째 줄:
|}
|}


<source lang='sql'>
==MySQL==
<source lang='mysql'>
SELECT (SELECT MAX(POPULATION) FROM CITY)
- (SELECT MIN(POPULATION) FROM CITY);
</source>
</source>

2018년 8월 16일 (목) 01:05 판

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}