Study Flashcards
Where is the user’s data stores in a database?
Tables
Stored in tables
User data
Information about the structure of a database is called
Metadata
Metadata
Information about the structure of a database
What is a DBMS
Database Management System is software used to create, access, and maintain a database
Software used to create, access, and maintain a database
DBMS
Retrieves data from the database
DBMS engine
What does a DBMS engine do
Retrieves data from a database
When asked to add data to a table what is done?
Insert into query
Insert into query is used when?
Adding data to a table
Referential integrity constraint
Rule that states each foreign key value must match a primary key value in the other relation
Rule that states each foreign key value must match a primary key value in the other relation
Referential integrity constraint
What do rows and columns represent
Tuples and attributes
Tuples and attributes are represented by
Rows and columns
BOYCE Codd normal form
If all determinants are a candidate key
If all determinants are a candidate key
BOYCE Codd normal form
Third normal form
Free from transitive dependencies
Free from transitive dependencies
Third normal form
Second normal form
No partial dependencies
No partial dependencies
Second normal form
What is a composite key
Primary key made up of two or more attributes
Primary key made up of two or more attributes
Composite key
How is “multi determines” written?
Double arrow
Double arrows are used for
Multi determinates
DML
Deals primarily with user data (INSERT, SELECT)
Deals primarily with user data (INSERT, SELECT)
DML
DDL
Deals primarily with metadata (CREATE, DROP)
Deals primarily with metadata (CREATE, DROP)
DDL
How is a composite attribute (an attribute with more than one value) written in a relation?
Only its values are
Only its values are written in a relation
Composite attribute
How are open circle attributes (derived) written in a relation?
They are not
Simple vs composite
Simple has one piece of data, composite has more than one attribute