관재탑

고정 헤더 영역

글 제목

메뉴 레이어

관재탑

메뉴 리스트

  • 홈
  • SQL
  • 그로스해킹
  • 구글 스프레드시트
  • 분류 전체보기 (47)
    • SQL (29)
      • MySQL과 Postgre SQL의 차이점 (1)
      • MySQL 이론 (7)
      • MySQL 문제풀이 (19)
      • MODE project (2)
    • 그로스 해킹 (14)
    • 구글 스프레드시트 (2)
홈SQL그로스해킹구글 스프레드시트
  • SQL 29
    • MySQL과 Postgre SQL의 차이점 1
    • MySQL 이론 7
    • MySQL 문제풀이 19
    • MODE project 2
  • 그로스 해킹 14
  • 구글 스프레드시트 2

검색 레이어

관재탑

검색 영역

컨텐츠 검색

SQL

  • Symmetric Pairs(HackerRank)

    2022.07.20 by 관재탑

  • Rising Temperature(LeetCode)

    2022.07.20 by 관재탑

  • Employees Earning More Than Their Managers(LeetCode)

    2022.07.20 by 관재탑

  • Customers Who Never Order(LeetCode)

    2022.07.20 by 관재탑

  • Reformat Department Table(LeetCode)

    2022.07.20 by 관재탑

  • Type of Triangle(HackerRank)

    2022.07.18 by 관재탑

  • Top Earners(HackerRank)

    2022.07.18 by 관재탑

  • MySQL 이론2

    2022.07.18 by 관재탑

Symmetric Pairs(HackerRank)

https://www.hackerrank.com/challenges/symmetric-pairs/problem?isFullScreen=true Symmetric Pairs | HackerRank Write a query to output all symmetric pairs in ascending order by the value of X. www.hackerrank.com 문제 You are given a table, Functions, containing two columns: X and Y. Two pairs (X1, Y1) and (X2, Y2) are said to be symmetric pairs if X1 = Y2 and X2 = Y1. Write a query to output all suc..

SQL/MySQL 문제풀이 2022. 7. 20. 16:40

Rising Temperature(LeetCode)

https://leetcode.com/problems/rising-temperature/ Rising Temperature - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Table: Weather +---------------+---------+ | Column Name | Type | +---------------+---------+ | id | int | | recordDate | date | | temperature | int | +--------..

SQL/MySQL 문제풀이 2022. 7. 20. 15:31

Employees Earning More Than Their Managers(LeetCode)

https://leetcode.com/problems/employees-earning-more-than-their-managers/ Employees Earning More Than Their Managers - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Table: Employee +-------------+---------+ | Column Name | Type | +-------------+---------+ | id | int | | name |..

SQL/MySQL 문제풀이 2022. 7. 20. 14:19

Customers Who Never Order(LeetCode)

https://leetcode.com/problems/customers-who-never-order/submissions/ Customers Who Never Order - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 table: Customers +-------------+---------+ | Column Name | Type | +-------------+---------+ | id | int | | name | varchar | +---------..

SQL/MySQL 문제풀이 2022. 7. 20. 13:31

Reformat Department Table(LeetCode)

https://leetcode.com/problems/reformat-department-table/ Reformat Department Table - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 +-------------+---------+ | Column Name | Type | +-------------+---------+ | id | int | | revenue | int | | month | varchar | +-------------+-----..

SQL/MySQL 문제풀이 2022. 7. 20. 11:04

Type of Triangle(HackerRank)

https://www.hackerrank.com/challenges/what-type-of-triangle/problem?isFullScreen=true Type of Triangle | HackerRank Query a triangle's type based on its side lengths. www.hackerrank.com 문제 Write a query identifying the type of each record in the TRIANGLES table using its three side lengths. Output one of the following statements for each record in the table: Equilateral: It's a triangle with sid..

SQL/MySQL 문제풀이 2022. 7. 18. 19:58

Top Earners(HackerRank)

https://www.hackerrank.com/challenges/earnings-of-employees/problem?isFullScreen=true Top Earners | HackerRank Find the maximum amount of money earned by any employee, as well as the number of top earners (people who have earned this amount). www.hackerrank.com 문제 We define an employee's total earnings to be their monthly worked, and the maximum total earnings to be the maximum total earnings fo..

SQL/MySQL 문제풀이 2022. 7. 18. 18:53

MySQL 이론2

1.집계함수 1-1. COUNT() : 컬럼의 개수를 세준다. 1-2. AVG() : 컬럼이 평균을 구해준다. 1-3. SUM(), MAX(), MIN()의 함수도 있다. 2. GROUP BY, HAVING WHERE은 GROUP BY위에 HAVING은 밑에 적어준다. WHERE은 GROUP BY에 들어가기 전에 필터를 걸어준다. HAVING은 GROUP BY로 나온 결과에 필터를 걸어준다. SELECT SupplierID, CategoryID, ROUND(AVG(Price)) FROM Products WHERE Price >= 20 GROUP BY SupplierID, CategoryID HAVING ROUND(AVG(Price)) >= 40 ORDER BY ROUND(AVG(Price)) DESC G..

SQL/MySQL 이론 2022. 7. 18. 17:06

추가 정보

인기글

최신글

페이징

이전
1 2 3 4
다음
TISTORY
관재탑 © Magazine Lab
페이스북 트위터 인스타그램 유투브 메일

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.