where절
select * from student_score where score >= 70
having절
select class_number, sum(score) as total_score from student_score group by 1 having sum(score) >= 340
where절에는 집계함수가 올 수 없고 having절에는 집계함수만 올 수 있다.