您的位置:首页 > 数据库

2.1introduction to the relational model

2016-09-22 15:33 393 查看
2.1introduction to the relational model

structure of relational database
table
tuple
attribute
domain (allowed values)
atomic (indivisible)

instance
null

database schema
consistence
a list of attributes (unchangeable)
corresponding domains (changeable)

difference #important
schema
The schema of a relation refers to its logical design
instance
an instance of the relationreferstoitscontentsatapointintime

keys
superkey (a set of one or more attributes)
candidate keys (minimal superkeys )
primary key(denote a candidate key)

foreign key
referential integrity constraint
referencing relation(include a foreign)
referenced relation(the primary key is another relation's attributes.) 

schema diagrams
​A schema diagram is a pictorial depiction of the schema of a database that shows the relations in the database, their
attributes, and primary keys and foreign keys
procedural language
nonprocedural language

relational operations
summary
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  数据库