
Declarative(선언적) Language이다.Design schema; create table using DDL
"Bulk load" initial data
Repeat; execute queries and modifications using DML
create table, drop table, alter table, ... 등
schema를 제어하는 조작어
select, insert, delete, update, ... 등
indexes, constraints(~오류가 나면, ~ 이렇게 처리해라), views, triggers,
transactions, authorization(특정 user에 특정 기능 부여), ... 등
아래와 같은 schema를 갖는 table을 create하라.









ON DELETE SET DEFAULT 실험해보려 했는데,
아래와 같이 College Table에서 cName = "Standford"인 tuple을 삭제하여
다음의 error msg가 출력됨
CHECK








DISTINCT :DISTINCT가 사용된다.

AS :


LIKE :%는 임의 개수의 문자를 의미하고, _는 임의 한 문자를 의미한다.

ORDER BY :ASC(default) :DESC :집합연산 조건SQL에서의 집합연산 :




nested query :(NOT) IN :ALL / ANY :









correlated nested query :(NOT) EXISTS :




Aggregate Function :
COUNT, SUM, MAX, MIN, AVG 등의 함수를 제공.









GROUP BY & HAVING :
GROUP BY :HAVING :





NULL :






INSERT INTO VALUES :DELETE FROM (WHERE) :UPDATE SET (WHERE) :







(sID = 345, 876이 delete된 것을 알 수 있다)



