as clause
rename relations and attributes
Aggregate Functions
multiset of values of a column of a relation
select avg(salary)
from instructor
where dept_name=’Comp. Sci’
Nested subquery: select-from-where expression
query 안에 있으면 그냥 subquery이다.
(select name from instructor)
union
(select name from student)
where절 중심으로 이번 과목에서 다룬다. from절 안에 나오는 경우도 조금 다룬다. select에서도 쓸 수 있다.