SQL : Structured Query Language
- principal language
- describe and manipulate relational databases
- Very high-level
- c, java, basic보다 high level이다.
- what to do >> how to doo
- not specifying data-manipulation details
- DBMSs figure out the'best' way to execute queries
- DDL
- Data definition
- for declaring database
- DML
- for querying databases and for modifying the database
SQL parts
- DML
- provide query information
- insert tuples, delete tuples, modify tuples
- Integrity
- DDL → specifying integrity constraints
- View definition
- Transaction control
- transaction; unit of tasks
- specifying the beginning and ending of transactions
- Embedded SQL and dynamic SQL
- 범용 프로그래밍 언어에 SQL statement를 추가할 수 있는 방법에 대한 논의
- Authorization
- set pw, grant permission
- access rights to relations and views