DBMS SQL - 1
- 2
- Introduction
slide 3
Example DB
slide 6
Data Definition
slide 8
Data Manipulation
Retrieval
slide 14
Updates
slide 39
Query Processing
slide 43
3
- Query Languages
Data Definition Language Data Manipulation Language
Formal Languages Manipulation
relational algebra relational calculus (based on predicate logic)
user-oriented Query languages
Structured Query Language (SQL) QUEry Language (QUEL) Query By Example (QBE)
Link with programming languages
use of SQL statements inside a higher-level language
program is known as Embedded SQL (Pascal, C, ...)
Introduction
4
- Functionalities :
data definition and data manipulation in the relational format data control
Manipulation language
non procedural borrowed to relational algebra and to the tuple relational calculus
Power of the manipulation language
Relational Algebra + Functions-Aggregates + Sorting
A SQL query (without functions and sorting)
Set of Relational Algebra operations
Introduction