전체 글(181)
-
HTML 빠르게 핵심 익히기
1. HTML 태그 기본 문법 웹의 본질은 정보를 시각적으로 보여주는 것이다. 이때 HTML태그는 정보를 보여주는 역할을 한다. 이미지, 텍스트, 비디오, 입력창 등의 개별 정보는 전부 HTML로부터 만들어진다고 보면 된다. 위 정보들을 HTML 언어로 표시하기 위해서는 태그/속성/콘텐츠를 이해해야 한다. 1. 기본 형식 : 콘텐츠 Hello 2. 속성이 있으면 콘텐츠 Naver 3. 태그 안에 또 태그를 넣는다면 Hello everyone! *HTML에서 주석을 사용하려면 2. HTML로 웹 기본 구성 짜기 html 태그가 가장 밖에서 사용되며 그 안에 head, body 태그가 사용된다. head태그는 콘텐츠를 보여주는 것이외의 모든 설정 태그를 넣는다. body태그는 실제로 화면을 구성하는 태그를 ..
2021.01.27 -
[HackerRank] Revising Aggregations - The Sum Function
Query the total population of all cities in CITY where District is California. Input Format The CITY table is described as follows: SELECT SUM(POPULATION) FROM CITY WHERE DISTRICT = 'California';
2021.01.25 -
[HackerRank] Revising Aggregations - The Count Function
Query a count of the number of cities in CITY having a Population larger than 100,000. Input Format The CITY table is described as follows: SELECT COUNT(*) FROM CITY WHERE POPULATION > 100000;
2021.01.25 -
[HackerRank] Employee Salaries
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 their n..
2021.01.25 -
[HackerRank] Higher Than 75 Marks
Query the Name of any student in STUDENTS who scored higher than 75 Marks. Order your output by the last three characters of each name. If two or more students both have names ending in the same last three characters (i.e.: Bobby, Robby, etc.), secondary sort them by ascending ID. Input Format The STUDENTS table is described as follows: The Name column only contains uppercase (A-Z) and lowercase..
2021.01.24 -
[HackerRank] Weather Observation Station 12
Query the list of CITY names from STATION that do not start with vowels and do not end with vowels. Your result cannot contain duplicates. Input Format The STATION table is described as follows: where LAT_N is the northern latitude and LONG_W is the western longitude. SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '^[^aieou].*[^aieou]$';
2021.01.24