Difference between revisions of "Relational model"
Karl Jones (Talk | contribs) (declarative programming) |
Karl Jones (Talk | contribs) (See Also Codd's 12 rules) |
||
Line 10: | Line 10: | ||
However, SQL databases deviate from the relational model in many details, and Codd fiercely argued against deviations that compromise the original principles. | However, SQL databases deviate from the relational model in many details, and Codd fiercely argued against deviations that compromise the original principles. | ||
+ | |||
+ | == See also == | ||
+ | |||
+ | * [[Codd's 12 rules]] | ||
== External links == | == External links == | ||
* [https://en.wikipedia.org/wiki/Relational_model Relational model] @ Wikipedia | * [https://en.wikipedia.org/wiki/Relational_model Relational model] @ Wikipedia |
Revision as of 05:49, 21 May 2015
The relational model for database management is a database model based on first-order predicate logic, first formulated and proposed in 1969 by Edgar F. Codd.
In the relational model of a database, all data is represented in terms of tuples, grouped into relations. A database organized in terms of the relational model is a relational database.
The purpose of the relational model is to provide a declarative programming method for specifying data and queries: users directly state what information the database contains and what information they want from it, and let the database management system software take care of describing data structures for storing the data and retrieval procedures for answering queries.
Most relational databases use the SQL data definition and query language; these systems implement what can be regarded as an engineering approximation to the relational model.
A table in an SQL database schema corresponds to a predicate variable; the contents of a table to a relation; key constraints, other constraints, and SQL queries correspond to predicates.
However, SQL databases deviate from the relational model in many details, and Codd fiercely argued against deviations that compromise the original principles.
See also
External links
- Relational model @ Wikipedia