PART 2 Flashcards
Refers to the type of relationship one has with another
Cardinality
Number of related rows for each of the two objects in the relationship
Relationship Cardinality
Each record in the first table is associated with one and only one record in the second table EX: Social Security Number
Another Ex: Patient and MRN
One-to-one
Each record in the first table is associated with many records in the second table and each record in the second table is associated with only one record in the first table.
EX: Telephone Number
Another EX: Patient and Telephone Number
One-to-many
Most complicated to implement, therefore usually requires an intersect table to manage the relationship
Each record in the first table is associated with many in the second table. Each record in the second table is associated with many in the first table. EX: City or State, Medications, or Diagnosis
Many-to-many
Column which uniquely identifies a record in the table
Primary key
A column or group of columns in a relational database table that provides a link between data in two tables.
EX: Phone ID is PK for table 2/ MRN is FK in table 2 which establishes the relationship between the 2 tables
Foreign key
_____ is a widely adopted statistical programming language where users carry out tasks by specifying instructions using a common set of rules with words and phrases/____ is considered an interpreted language not a compiled language/each command can be interpreted without having to develop a computer program
R
Very simple design-base program for R
R interface
Code is typed-where you enter commands
R console