Population Census 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(A.population) FROM CITY A JOIN COUNTRY B ON A.CountryCode = B.Code WHERE B.CONTINENT = 'Asia'; African Cities Given the CIT..
Weather Observation Station 2 Query the following two values from the STATION table: The sum of all values in LAT_N rounded to a scale of 2 decimal places. The sum of all values in LONG_W rounded to a scale of 2 decimal places.Input Format The STATION table is described as follows: where LAT_N is the northern latitude and LONG_W is the western longitude. Output Format Your results must be in the..
Revising Aggregations - The Count Function Query a count of the number of cities in CITY having a Population larger than 100,000. Input Format SELECT COUNT(*) FROM CITY WHERE POPULATION > 100000; Revising Aggregations - The Sum Function Query the total population of all cities in CITY where District is California. Input Format SELECT SUM(POPULATION) FROM CITY WHERE DISTRICT = 'California'; Revis..
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 ma..
- Total
- Today
- Yesterday
- 넷플릭스
- TSQL
- 해커랭크
- DATABASE
- 리비안
- 대원화성
- 코로나19
- HK이노엔
- 동국알앤에스
- list
- 에코캡
- MS SQL Server
- python
- Tableau
- 경구치료제
- 미중무역전쟁
- insert
- python3
- 넥스트BT
- string
- 분석탭
- 매매일지
- 테슬라
- mysql
- Weather Observation Station
- 몰누피라비르
- SQL Server
- tensorflow
- hackerrank
- MSSQL
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |