일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- 스택
- 알고리즘
- 협업필터링
- Python
- 3줄 논문
- 코딩테스트
- Image Segmentation
- pytorch
- hackerrank
- 파이썬
- TEAM-EDA
- MySQL
- 큐
- Object Detection
- 나는리뷰어다
- Recsys-KR
- 나는 리뷰어다
- TEAM EDA
- 튜토리얼
- DilatedNet
- eda
- 엘리스
- Machine Learning Advanced
- DFS
- Semantic Segmentation
- 입문
- Segmentation
- 추천시스템
- 프로그래머스
- 한빛미디어
- Today
- Total
목록EDA Study/SQL (22)
TEAM EDA
Input Format The STATION table is described as follows: where LAT_N is the northern latitude and LONG_W is the western longitude. Q1. Query the following two values from the STATION table: The sum of all values inLAT_Nrounded to a scale ofdecimal places. The sum of all values inLONG_Wrounded to a scale ofdecimal places. Output Format Your results must be in the form: lat lon where lat is the sum..
We define an employee's total earnings to be their monthly salary x months worked, and themaximum total earningsto be the maximum total earnings for any employee in the Employee table. Write a query to find the maximum total earnings for all employees as well as the total number of employees who have maximum total earnings. Then print these values as 2space-separated integers. Input Format T..
Samantha was tasked with calculating the average monthly salaries for all employees in the EMPLOYEES table, but did not realize her keyboard's 0 key was broken until after completing the calculation. She wants your help finding the difference between her miscalculation (using salaries with any zeroes removed), and the actual average salary. Write a query calculating the amount of error (i.e.:act..
Input Format The CITY table is described as follows: Q1. Query the total population of all cities in CITY where Districtis California. SELECT SUM(POPULATION) FROM CITY WHERE DISTRICT = 'California' Q2. Query the average population of all cities in CITY where District is California. SELECT AVG(POPULATION) FROM CITY WHERE DISTRICT = 'California' Q3. Query the average population for..
Julia just finished conducting a coding contest, and she needs your help assembling the leaderboard! Write a query to print the respectivehacker_idandnameof hackers who achieved full scores formore than onechallenge. 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 of chall..
You are given two tables: Students and Grades. Students contains three columns ID, Name and Marks. Grades contains the following data: 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 fir..
Given the CITY and COUNTRY tables, query the names of all the continents (COUNTRY.Continent) and their respective average city populations (CITY.Population) rounded down to the nearest integer. Note: CITY.CountryCode and COUNTRY.Code are matching key columns. Input Format The CITY and COUNTRY tables are described as follows: 풀이 SELECT O.CONTINENT, FLOOR(AVG(C.POPULATION)) FROM CITY AS C JOIN COU..
Given the CITY and COUNTRY tables, query the names of all cities where the CONTINENT is 'Africa'. Note: CITY.CountryCode and COUNTRY.Code are matching key columns. Input Format The CITY and COUNTRY tables are described as follows: 풀이 SELECT C.NAME FROM CITY AS C JOIN COUNTRY AS O ON C.COUNTRYCODE = O.CODE WHERE O.CONTINENT = 'Africa';
Given the CITY and COUNTRY tables, query the sum of the populations of all cities where the CONTINENT is 'Asia'. Note: CITY.CountryCode and COUNTRY.Code are matching key columns. Input Format The CITY and COUNTRY tables are described as follows: 풀이 SELECT SUM(C.POPULATION) FROM CITY AS C JOIN COUNTRY AS O ON C.COUNTRYCODE = O.CODE WHERE O.CONTINENT = 'Asia';
Write a query that prints a list of employee names (i.e.: the name attribute) for employees in Employee having a salary greater than $2000 per month who have been employees for less than 10 months. Sort your result by ascending employee_id. Input Format The Employee table containing employee data for a company is described as follows: where employee_id is an employee's ID number, name is the..