Introduction to SQL

来源:互联网 发布:网络歌手朋友陪你醉 编辑:程序博客网 时间:2024/05/08 03:07

S.Q.L: Sequel

  • Supported by all major commercial database systems
  • Standardized( SQL2, SQL3…)
  • Interaction, Embedded in programs
  • Declarative language, based on relational algebra

DDL: Data Definition Language
create, drop…

DML: Data Manipulation Language
select,insert,delete,update…

Other Commands
indexs, constraints…


3. Select A1, A2, ..., An   What to return1. From R1, R2, ..., Rm     Relations2. Where condition          Combination of Filter 

Equivalent:

ΠA1,A2,...,An(σcondition(R1×R2,...,Rn))


0 0
原创粉丝点击