본문 바로가기

MYSQL84

Top Competitors 문제 Julia just finished conducting a coding contest, and she needs your help assembling the leaderboard! Write a query to print the respective hacker_id and name of hackers who achieved full scores for more than one challenge. Order your output in descending order by the total number of challenges in which the hacker earned a full score. If more than one hacker received full scores in same number.. 2025. 4. 17.
The Report : JOIN을 이렇게도 쓸 수 있구나! 문제Ketty gives Eve a task to generate a report containing three columns: Name, Grade and Mark. Ketty doesn't want the NAMES of those students who received a grade lower than 8. The report must be in descending order by grade -- i.e. higher grades are entered first. If there is more than one student with the same grade (8-10) assigned to them, order those particular students by their name alphabet.. 2025. 4. 17.
Weather Observation Station 20(중앙값 구하기) A median is defined as a number separating the higher half of a data set from the lower half. Query the median of the Northern Latitudes (LAT_N) from STATION and round your answer to 4 decimal places.중앙값은 상위 절반, 하위 절반을 구분하는 숫자로 정의 됩니다. STATION 테이블에 있는 LAT_N의 중앙값을 구하는 쿼리를 쓰세요. 소수점 4자리까지 반올림 하세요 SELECT ROUND(AVG(LAT_N), 4)FROM ( SELECT LAT_N, ROW_NUM.. 2025. 4. 16.
Weather Observation Station 19, 유클리드 거리 구하기 Consider P1(a, c) and P2(b, d)to be two points on a 2D plane where (a, b) are the respective minimum and maximum values of Northern Latitude (LAT_N) and (c, d) are the respective minimum and maximum values of Western Longitude (LONG_W) in STATION.Query the Euclidean Distance between points P1 and P2 and format your answer to display 4 decimal digits. 2D 평면상 P1(a, b)와 P2(b, d)들을 고려하세요. (a, b)는.. 2025. 4. 16.
Weather Observation Station 18 Consider P1(a, b) and P2(a, b) to be two points on a 2D plane. a happens to equal the minimum value in Northern Latitude (LAT_N in STATION). b happens to equal the minimum value in Western Longitude (LONG_W in STATION). c happens to equal the maximum value in Northern Latitude (LAT_N in STATION). d happens to equal the maximum value in Western Longitude (LONG_W in STATION).Query the Manhattan D.. 2025. 4. 15.
New Companies Amber's conglomerate corporation just acquired some new companies. Each of the companies follows this hierarchy: Given the table schemas below, write a query to print the company_code, founder name, total number of lead managers, total number of senior managers, total number of managers, and total number of employees. Order your output by ascending company_code.Note:The tables may contain dupli.. 2025. 4. 15.