Practice Test 1 Flashcards
Connected fields in a table that complete a row
Record
dbms does many things like integrity, storage, and security management but it doesnt
create data reports
An example of unstructured data would be
A video but if you had fields describing a video then it could be
what is data classified as
raw facts. Only processed data can be considered information
Intersection data
This would be when tables that do not share common fields are connected using fields that they do have in common
Unary or Binary
Unary is when theres a relationship with the same entity (itself) employee to employee while binary is a relationship between two different entities (student / course)
Database Models are….
They are conceptual frameworks for database systems
Modality
Means whether something must participate in the relationship. 1 means yes 0 means no
Entity Integrity
Requires all primary keys to be unique
Referential Integrity
Foreign Keys must refer to a valid primary key from another table
A table is perceived as…
two-dimensional structure
another term for relation
Table Name
Distinct filter
modifies presentation of query results
Primary Key
Always needs to be unique
Common Attribute
Properties or characteristics shared between two or more tables
Allows you to combine information from two or more tables
SELECT operation
Primary key will appear as a foreign keys in related tables
When designing a new database…..
you want to reduce data redundancy
SuperKey
Any numbers of columns that can uniquely identify a row. (ex. Table has Studentid, email, class for columns and the super key could be all 3)
Candidate key
The least amount of columns that could be used to uniquely identify a row. essentially a simple super key. (ex. Table has Studentid, email, class for columns and StudentId is enough to identify the row then that would be considered a candidate key)
Foreign keys must match…..
the primary keys value in the related field
A Entity Relationship Diagram (ERD)
Graphically represents the concepts of a DataBase model
Derived attribute
This attribute doesnt actually store its data in a table but actually gets it from two or more values in a table/tables. Think of it as a calculated value.
Composite Key
more than one attribute
Relationship is between
entities
Atomic attribute
cannot be subdivided. Ex: Fullname could be divided to first and last but FirstName cant be divided an smaller.
Independent Entity
Entities that do not depend on any other entity in the model for identification
Dependent Entity
entity that depends on the foreign key attribute for uniqueness
Ternary
when 3 or more entities have a relationship
Domain
set of possible values
1N
The table only has 1 value or atomic value and their all unique
2N
all non-key attributes must be fully dependent on the primary key.
3N
table must be in 2NF, and all attributes must be directly dependent on the primary key, not on other non-key attributes (eliminating transitive dependency).
Data reduncy
Causes slower lookups
Partial dependencies
Dependency on only a part of the composite key
INSERT
Lets you insert Data into a table
Update
Lets you make changes to data in a table
SELECT
Lets you select and list all the content of a table
Delete
Removes a row from the table
LIKE
Checks for similar character strings
DROP
Will delete a whole table from the database
Full Outer Join
Returns rows with matching values and unmatching
Extract, transform, load (ETL)
used in data warehousing to extract data from various sources, transform it into a format suitable for loading into a data warehouse, and then load it into the warehouse
Extract
extract data from various sources such as transactional systems, spreadsheets, and flat files
Transform
extracted data is transformed into a format that is suitable for loading into the data warehouse. This may involve cleaning and validating the data, converting data types, combining data from multiple sources, and creating new data fields
Load
This step involves creating the physical data structures and loading the data into the warehouse (Important to monitor volume and frequency that data is being loaded into warehouse)
Structured Data
Standardized format can be processed to generate information
Modality
Min number of values on one side of the relationship