xxleyi / learning_list

聚集自己的学习笔记
10 stars 3 forks source link

CS 61A Summer 2018 Lecture 22: SQL I #35

Open xxleyi opened 5 years ago

xxleyi commented 5 years ago

image

xxleyi commented 5 years ago

image

SQL is an example of a declarative programming language. Statements do not describe computations directly, but instead describe the desired result of some computation. It is the role of the query interpreter of the database system to design and perform a computational process to produce such a result.

This interaction differs substantially from the procedural programming paradigm of Python or Scheme. In Python, computational processes are described directly by the programmer. A declarative language abstracts away procedural details, instead focusing on the form of the result.

Program Paradigm In Picture. image

xxleyi commented 5 years ago

image

xxleyi commented 5 years ago

image

xxleyi commented 5 years ago

image image

xxleyi commented 5 years ago

image image

xxleyi commented 5 years ago

image image

xxleyi commented 5 years ago

image image

xxleyi commented 5 years ago

image