Flashcards
classwork

Cards in this deck (29)
- 1binary relationship; two entities participate in a relationship

- 2Unary relationship: when one entity is involved in the relationship

- 3ternary relationship: when 3 or more entities are involved

- 4data vs information

- 5file: collection of records record: one complete set of field field: single piece of information

- 6Data Redundancy: Condition created within a database or data storage technology in which the same piece of data is held in two separate places. It can be two different fields within a single database, or two different spots in multiple software environments or platforms.

- 7Update anomaly: Data inconsistency that results from data redundancy and a partial update. round hill

- 8Delete anomaly: Unintended loss of data due to deletion of other data

- 9insert anomaly: Inability to add data to the database due to absence of other data.

- 10meta data: data that provide information about other data

- 11business rules: the requirement the database have to meet

- 12referential integrity: Ensures that a value in one table references an existing value in another table.

- 13entity integrity: is concerned with ensuring that each row of a table has a unique and non-null primary key value; this is the same as saying that each row in a table represents a single instance of the entity type modelled by the table

- 14primary key: Special relational database column (or combination of columns) designated to uniquely identify all table records. Must contain a unique value for each row and can't contain null values.

- 15foreign key : Links two tables together. Is a field (or collection of fields) in one table that refers to the primary key in another table.

- 16Candidate Key: Column, or set of columns, in a table that can uniquely identify any database record without referring to any other data. Each table may have one or more candidate keys, but one candidate key is unique, and it is called the primary key. This is usually the best among the candidate keys to use for identification.

- 17Secondary Key: An entity may have one or more choices for the primary key. Collectively these are known as candidate keys. One is selected as the primary key. Those not selected are known as secondary keys.

- 18composite key: Combination of two or more columns in a table that can be used to uniquely identify each row in the table when the columns combined uniqueness is guaranteed, but when taken individually does not guarantee uniqueness.

- 19strong entity: Entity which can stand by itself, doesn't require the existence of another entity.

- 20weak entity: Entity which can't be fully identified by its own attributes and takes the foreign key as an attribute.dashed line for the weak
- 21strong vs weak relationship : A foreign key is used as a primary key is strong while weak is A foreign key is not used as a primary keyalmost the same as above
- 22primary key characteristics: no null values and contain unique values for each row of datasame
- 23independent entity vs dependent entity

- 24Single-Valued Attribute: one single value mltivalued attributes: many value

- 25derived attribute: can be obtained from other entities. Oval dot

- 26composite attribute Attribute which has multiple components. Example: name may consist of first name and last name

- 27one to one

- 28one to many

- 29many to many

Information
- Description
- Flashcards on classwork, created by dat tran on 08/10/2019.
- Created by
- dat tran
- Views
- 3
- Rating
More on Relational Databases and the Relational Model