Aggregate Fuctions 집계함수
★ 집계함수는 Select or Group by 에서만 사용 가능!! ★

select count(column)
from tablename
where conditions;
select sum(column)
from tablename
where conditions;
select avg(column)
from tablename
where conditions;
select min(column)
from tablename
where conditions;
select max(column)
from tablename
where conditions;
select column1, column2...
from table
where condition
group by column1, column2...
order by column1, column2...;
select column1, column2...
from table
where condition
group by column1, column2...
having condition(Aggregate Functions) <- ex> case_number>4000
order by column1, column2...;