본문 바로가기

ror_coding

검색하기
ror_coding
프로필사진 ro_rdil_31

  • Home (160)
    • Data Analysis (13)
      • Growth Hacking (7)
      • Tableau (6)
    • Coding Test (140)
      • Python (86)
      • SQL (54)
    • Certificate (5)
      • 빅데이터 분석 기사 (0)
      • SQLD (3)
      • ADsP (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • RoR's Github
«   2025/08   »
일 월 화 수 목 금 토
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
Tags
  • coding test
  • Level2
  • level4
  • 코딩테스트
  • programmers
  • tableau
  • python
  • LeetCode
  • mysql
  • cte
  • 코테
  • lv4
  • 완전탐색
  • hackerrank
  • 코딩
  • sql
  • itertools
  • 조합
  • AARRR
  • 프로그래머스
  • Growth hacking
  • coding
  • join
  • lambda
  • 파이썬
  • import re
  • time complexity
  • counter
  • Stack
  • Queue
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록133027 (1)

ror_coding

[Programmers Lv.4] 주문량이 많은 아이스크림들 조회하기 - 133027

ORDER BY 절에서 F.total + SUM(J.total) 연산이 가능하다. Question 7월 아이스크림 총 주문량과 상반기의 아이스크림 총 주문량을 더한 값이 큰 순서대로 상위 3개의 맛을 조회하는 SQL 문을 작성해주세요.  Code SELECT F.FLAVOR FROM FIRST_HALF F JOIN JULY J ON F.FLAVOR = J.FLAVOR GROUP BY F.FLAVOR ORDER BY (F.TOTAL_ORDER + SUM(J.TOTAL_ORDER)) DESC LIMIT 3 now meOn my github

Coding Test/SQL 2024. 10. 17. 12:10
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바