| www.sum-it.nl > Courses > DB Design course > Introduction > Terminology | Previous Nederlands · Search... |
Database Terminology | Problems Method Scope Logical Design Technical Optimisation Implementation End | |||||||||||||||
Column |
Compound KeyA compound key (composite key) is a key that consists of multiple columns, because one column is not sufficiently unique.Example of a compound key: a Dutch postcode & house number jointly identify an address in the Netherlands. | |||||||||||||||
Database
A database is a collection of tables, with related data.
| ||||||||||||||||
Foreign Key
A foreign key
is the linking pin between two tables.
Given a value from a row in one table you can access another table to find the right row with related data. So, one table gives the key for the other, 'foreign' table. | ||||||||||||||||
High Frequency FunctionA high frequency function is a function that is used very often, hundreds or even thousands times per day. | ||||||||||||||||
Index
An index in a database resembles an index at the back of a book.
Using a keyword you can find the right page number of rows, within a table. | ||||||||||||||||
JoinWith a join you combine columns from different tables to one big temporary result table.For instance, make an overview of readers, with the name of the newspapers that they are subscribed to. | ||||||||||||||||
KeyIf you know the right key value you can find the right row with the desired information. The key is like a real world key, that gives you access to the right row. A key is unique. A key value can not occur twice in one table. With a key you can find at most one row. | ||||||||||||||||
Many to Many RelationshipMany to many relations are everywhere.
Most of the time the relation can be made a lot clearer, by adding a link table, at the 'top' or the 'bottom'.
For a paid newspaper, the link is the subsription, at the bottom. | ||||||||||||||||
Many to One Relationship
A Many to One relation is the same as
one-to-many,
but from a different viewpoint.
| ||||||||||||||||
One to Many Relationship
Most relations between tables are one-to-many.
Example:
| ||||||||||||||||
One to One RelationshipIt can occur, but it's often a sign that the database design has opportunities for improvement. | ||||||||||||||||
RDBMSA Relationshipal DataBase Management System is software that
| ||||||||||||||||