Skip to Content
러닝 SQL: 데이터 생성, 검색, 조작까지 데이터 제대로 주무르기
book

러닝 SQL: 데이터 생성, 검색, 조작까지 데이터 제대로 주무르기

by 류수미, 송희정, 앨런 볼리외
March 2021
Beginner to intermediate
456 pages
12h 49m
Korean
Hanbit Media, Inc.
Content preview from 러닝 SQL: 데이터 생성, 검색, 조작까지 데이터 제대로 주무르기
355
16
분석 함수
-> FROM payment
-> WHERE year(payment_date) = 2005
-> GROUP BY quarter(payment_date), monthname(payment_date)
-> ORDER BY 1, month(payment_date);
+---------+----------+---------------+----------------+
| quarter | month_nm | monthly_sales | qtr_sales_rank |
+---------+----------+---------------+----------------+
| 2 | May | 4824.43 | 2 |
| 2 | June | 9631.88 | 1 |
| 3 | July | 28373.89 | 1 |
| 3 | August | 24072.13 | 2 |
+---------+----------+---------------+----------------+
4 rows in set (0.00 sec)
이 예제는
over
절의 사용을 설명하고자 만들어졌지만, 다음 절에서는 다양한 분석 기능을 자
세히 설명합니다.
16.2
순위
사람들은 순위
ranking
를 매기는 것을 좋아합니다. 좋아하는 뉴스, 스포츠 및 여행 사이트를 방문
하면 다음과 유사한 헤드라인을 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

클라우드 네이티브를 위한 데이터 센터 네트워크 구축: 데이터 센터 네트워킹을 위한 아키텍처, 프로토콜, 도구

클라우드 네이티브를 위한 데이터 센터 네트워크 구축: 데이터 센터 네트워킹을 위한 아키텍처, 프로토콜, 도구

정기훈, 디네시 G. 더트

Publisher Resources

ISBN: 9791162244074