A commonly used name for "relation" in industry
Table
What is a One-to-One Relationship?
Each row in one table corresponds to exactly one row in the other table
What is the command to create a database?
CREATE DATABASE "name";
The process of moving backwards towards 1NF, when concerned more with extreme performance than data protection?
Denormalization
This kind of key doesn't take much effort to differentiate data; it's already there!
Natural key
Academic term for a single item represented by a row
Tuple
What is a One-to-Many relationship?
Each record in the FIRST table corresponds to multiple records in the second table, BUT, each record in the SECOND table corresponds to only one record in the first table.
What is the command to list existing databases?
SHOW DATABASES;
The key relevant in the process of normalizing from 2NF to 1NF?
Composite key
Hmm this key doesn't seem related to the data, but at least it makes the records unique.
Surrogate key
The process of making a database more efficient by getting rid of redundant data
Normalization
Many-to-Many?
A many-to-many relationship occurs when multiple records in a table are associated with multiple records in another table.
What is the command to select a database?
USE "name";
Every non-primary key column is dependent on the entire primary key; In 1NF
Conditions to achieve 2NF
This kind of key is made up of multiple columns
Composite/compound key
Examples include MySQL, PostGreSQL, and Oracle
DBMS
How do you set a Self-Referencing relationship?
Set a column in the table as a foreign key to another column in the same table.
What is the command to delete an existing database?
DROP DATABASE "name";
No non-key field depends on another non-key field
One of the conditions to achieve 3NF
A key that relates a record to a record in another table
Foreign key
The definition of a column that determines what kind of data can be stored there
Attribute
What table do you need to implement when utilizing Many-to-Many?
Bridge Table
What is the command to add, delete, or modify columns in a table?
ALTER TABLE "name";
No top-to-bottom ordering to the rows; no left-to-right ordering to columns; every row can be uniquely identified; every row/column intersection contains only one value
Conditions to achieve 1NF
This is a table made up of keys used when tables have a many-to-many relationship
Bridge table