kyohoonsim / kusf-data-2023-1

2023-1 KUSF data 수업 강의자료 레포지토리
17 stars 1 forks source link

Quiz5. 집계함수 #6

Open kyohoonsim opened 1 year ago

kyohoonsim commented 1 year ago

5-1. [SQL 쿼리] [실행화면 캡쳐]

5-2. [SQL 쿼리] [실행화면 캡쳐]

aosdbfc commented 1 year ago

SELECT COUNT(*) FROM student;

SELECT SUM(age),AVG(age),MAX(age),min(age) FROM student;

image

image

YelynYoo commented 1 year ago

5-1. select count(*) from student;

image

5-2. select sum(age), avg(age), max(age), max(birth) from student;

image

echoe1009 commented 1 year ago

5-1. SELECT COUNT(*) FROM student; image

5-2. SELECT SUM(age), SUM(age)/COUNT(age), MAX(birth), MIN(birth) FROM student; image

dhEhdod commented 1 year ago

5-1. SELECT COUNT(*) FROM student; image

5-2. SELECT SUM(age), avg(age), MAX(age), MAX(birth) FROM student; image

xinnazim commented 1 year ago

5-1.

SELECT COUNT(*) FROM student; DBeaver 23 0 5 - _52 79 134 175 2_ Script 2023-05-31 오후 8_06_48

5-2.

SELECT SUM(age),AVG(age),MAX(age), MAX(birth) FROM student; DBeaver 23 0 5 - _52 79 134 175 2_ Script 2023-05-31 오후 8_08_06

last0331 commented 1 year ago

5-1. SELECT COUNT(*) FROM student; quiz 5-1

5-2. SELECT SUM(age), AVG(age), MAX(age), MAX(birth) FROM student; quiz 5- 2

indianaPoly commented 1 year ago

5-1. select count(*) from student;

스크린샷 2023-05-31 오후 8 04 13

5-2. select sum(age), avg(age), max(age), (select birth from student where age = ( select min(age) from student)) from student;

스크린샷 2023-05-31 오후 8 10 36
aosdbfc commented 1 year ago

image

yibeeeen commented 1 year ago

5-1 SELECT COUNT(*) FROM student;

스크린샷 2023-05-31 오후 8 09 26

5-2 SELECT SUM(age), AVG(age), MAX(age), MAX(birth) FROM student;

스크린샷 2023-05-31 오후 8 14 40
SHINZIMIN commented 1 year ago

5-1 SELECT COUNT(*) FROM student;

image

5-2 SELECT SUM(age), AVG(age), MAX(age), MAX(birth) FROM student;

image

Y0nghwan commented 1 year ago

5-1

SELECT COUNT(*) FROM student;

image

5-2

SELECT SUM(age), AVG(age), MAX(age), MAX(birth) FROM student;

image

hungrywoo commented 1 year ago

5-1. SELECT COUNT(*) FROM student; image

5-2. SELECT SUM(age), AVG(age), MAX(age), MAX(birth) FROM student; image

expediore commented 1 year ago

5-1. select count(*) as 총데이터갯수 from student; image

5-2. select sum(age) as 나이합계, avg(age) as 평균나이, min(birth) as 가장늦은생일, max(birth) as 가장빠른생일 from student; image

WooJHo commented 1 year ago

5-1 SELECT COUNT(*) from student; image

5-2 select SUM(age),AVG(age),max(age),max(birth) from student; image

KUSFTWOO commented 1 year ago

SELECT COUNT(*) FROM student; 퀴즈 5-1 캡쳐 SELECT SUM(age), AVG(age), MAX(age), MAX(birth) FROM student; 퀴즈 5-2 캡쳐

monimanimo commented 1 year ago

5-1 select count(*) from student; image 5-2 select sum(age), avg(age), max(age), max(birth) from student; image

JJungEunnn commented 1 year ago

5-1

image

5-2

image
jjjjjjye commented 1 year ago

5-1 SELECT COUNT(email) FROM student;

5-1

*생성할때 email을 PRIMARY KEY로 지정해서 email을 통해 값을 구해봤습니다.

5-2 SELECT SUM(age), AVG(age), MIN(birth), MAX(birth) FROM student;

5-2
echoe1009 commented 1 year ago

5-1 SELECT COUNT(*) FROM student; 스크린샷 2023-05-31 오후 8 09 26

5-2 SELECT SUM(age), AVG(age), MAX(age), MAX(birth) FROM student;

image

BAEKDONGSEOK commented 1 year ago

5-1 image

5-2 image

2gyuheon commented 1 year ago

select count(*) from student; 주석 2023-05-31 202208 SELECT SUM(age),AVG(age),MAX(age),min(age) FROM student; 주석 2023-05-31 203511

jeong1217 commented 1 year ago

6 7 5번 킈즈

6 7 5번의 2번