매일 성장하자!!

  • 홈
  • 태그
  • 방명록

GROUP BY 1

sqlzoo - SUM and COUNT

SQL SELECT SUM(population) FROM world select distinct continent from world;distinct를 이용해서 중복을 없애던가 혹은 select continent from world group by continent;group by로 continent로 그룹화를 하던가! 하면 된다. select sum(gdp) from world where continent = 'Africa'; select count(name) from world where area >= 1000000;count집계함수로 쉽게 구할수있다. select sum(population) from world where name in ('Estonia', 'La..

sql 2021.07.23
1
더보기
프로필사진

웰컴

  • 분류 전체보기 (77)
    • 일상 (1)
    • sql (5)
    • algorithm (31)
    • study with book (7)
    • computer science (14)
    • 개발 (9)
    • 액티비티 (7)

Tag

원티드, SQL, 백트래킹, TypeScript, 구현, sqlzoo, 위코드, OS, 그리디, 책임, 동적계획법, DP, 객체지향의 사실과 오해, 서브쿼리, 알고리즘, 자료구조, 백준, nodejs, BFS, MySQL,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • 깃허브

티스토리툴바