ICDL Databases key terms
ICDL Databases · Get comfortable with the vocabulary.
- Database
- Related: Table, Relational database
An organised collection of related data stored so that it can be accessed, managed and updated easily. In a relational database the data is held in tables that are linked together.
- Relational database
- Related: Database, Primary key, Foreign key
A database that stores data in multiple tables and links them through shared key fields rather than duplicating the same information in one large list.
- Table
- Related: Record, Field, Relational database
The basic storage object in a database, made up of rows and columns, where each row is one record and each column is one field describing the same attribute.
- Record
- Related: Table, Field
One complete row in a table, holding all the field values that describe a single person, item, event or other entity.
- Field
- Related: Record, Data type
One column in a table, representing a single attribute of the data such as a surname, a date or a price. Every field has a defined data type.
- Data type
- Related: Field, Validation
The setting that controls what kind of values a field may hold, for example text, number, currency, date/time or yes/no, and how those values are stored and displayed.
- Primary key
- Related: Foreign key, Index, Relational database
A field, or combination of fields, whose value is unique for every record in a table and never left empty, used to identify each row unambiguously.
- Foreign key
- Related: Primary key, Relationship, Referential integrity
A field in one table that holds the primary key value of a related record in another table, creating the link between the two tables.
- Composite key
- Related: Primary key, Index
A primary key made up of two or more fields used together, where the combination is unique even though each field on its own may repeat.
- Index
- Related: Primary key, Query
A structure the database keeps on one or more fields so that records can be found quickly without scanning the whole table. It speeds up searching but adds overhead when data changes.
- Relationship
- Related: Foreign key, One-to-many relationship, Referential integrity
A defined link between two tables based on matching key fields, which lets data from both tables be combined and keeps related records consistent.
- One-to-many relationship
- Related: Relationship, Foreign key
A link where one record in the first table can match many records in the second table, but each record in the second table matches only one in the first.
- Many-to-many relationship
- Related: Relationship, Composite key
A link where records in each table can match many records in the other. It is normally implemented using an extra junction table holding the keys of both tables.
- Referential integrity
- Related: Relationship, Foreign key
A rule that stops a record being created or changed so that it points to a related record that does not exist, and blocks deleting a record that others still depend on.
- Validation
- Related: Data type, Input mask
Rules applied to a field to check that entered data is acceptable, such as a required entry, a range of allowed values or a list of permitted choices.
- Input mask
- Related: Validation, Data type
A pattern that controls the format in which data is typed into a field, for example forcing a date or phone number into a fixed layout of characters.
- Query
- Related: Criteria, SQL, Select query
A saved request that selects, filters, sorts or calculates data from one or more tables and presents the result as a datasheet rather than stored data.
- Select query
- Related: Query, Criteria
The most common type of query, which retrieves records that meet stated conditions and shows only the fields the designer chooses to include.
- Criteria
- Related: Query, Wildcard, Parameter query
The condition or conditions entered in a query to limit which records are returned, for example only orders placed after a certain date or in one region.
- Wildcard
- Related: Criteria, Query
A special character used in criteria to stand for unknown text, commonly an asterisk for any number of characters and a question mark for a single character.
- Parameter query
- Related: Criteria, Query
A query that asks the user to type a value each time it runs, so the same saved query can be reused with different criteria without being redesigned.
- Calculated field
- Related: Query, Aggregate function
A field created inside a query that works out a new value from existing fields, such as multiplying quantity by price, instead of storing that value in a table.
- Aggregate function
- Related: Calculated field, Query
A function that summarises many records into one result, such as counting records or calculating a total, average, minimum or maximum of a field.
- SQL
- Related: Query, Select query
Structured Query Language, the standard text language used to create, retrieve and modify database data. Many database tools build SQL statements behind the scenes.
- Form
- Related: Control, Subform, Datasheet
A screen layout built on a table or query that lets users view and enter records one at a time, with labels, controls and buttons instead of a raw datasheet.
- Control
- Related: Form, Report
Any item placed on a form or report, such as a text box, label, combo box, check box or command button, used to display data or accept user input.
- Subform
- Related: Form, One-to-many relationship
A form embedded inside another form, usually showing the many-side records that belong to the record currently displayed in the main form.
- Combo box
- Related: Control, Validation
A form control that offers a drop-down list of allowed values, so users pick an entry instead of typing it, which reduces typing errors.
- Datasheet
- Related: Table, Form
A grid view of records and fields that looks like a spreadsheet and is used for entering or browsing data quickly rather than for a designed layout.
- Report
- Related: Report section, Grouping, Query
A formatted output built from a table or query, designed for printing or sharing, with headings, grouped sections, totals and page layout.
- Report section
- Related: Report, Grouping
A band within a report that controls where content appears, such as the report header, page header, detail lines for each record, and the report footer.
- Grouping
- Related: Report, Aggregate function
Arranging report or query output so that records sharing a value are collected together under that value, often with a header and a summary total for each group.
- Sorting
- Related: Filter, Query
Arranging records in a chosen order, such as alphabetically by surname or from newest to oldest date, without removing any records.
- Filter
- Related: Criteria, Query
A temporary restriction applied to a table or form that hides records not matching a condition, without creating a saved query object.
- Export
- Related: Report, Query
Saving query, form or report output into another file format, such as a spreadsheet, PDF or text file, so it can be used outside the database.
- Backup
- Related: Database, Referential integrity
A copy of the database file kept in a separate location so that data can be restored if the original is damaged, lost or corrupted.