ANSWERS
The ____________________ command is used to restore the database to its
previous condition. - Answer ROLLBACK;
According to the rules of precedence, which of the following computations should
be completed first? - Answer Performing operations within parentheses
Boyce-Codd Normal Form (BCNF) - Answer A special type of third normal
form (3NF) in which every determinant is a candidate key. A table in BCNF
must be in 3NF.
4NF - Answer 3NF and no independent multivalued dependencies that produce
numerous nulls or redundancy
denormalization - Answer yeilds less I/O --> ^ processing speed
DB updates less efficient
indexing cumbersome
data redundancies --> data anomalies
Data Definition Language (DDL) - Answer DBMS language that builds the data
dictionary, creates the database, describes logical views, and specifies record or
field security constraints
,Data Manipulation Language (DML) - Answer DBMS language that changes
database content, including data element creations, updates, insertions, and
deletions
SELECT, INSERT, UPDATE, DELETE, COMMIT, ROLLBACK
WHERE - Answer can be used with SELECT, UPDATE, DELETE in DDL
Aggregate Function - Answer COUNT, MIN, MAX, AVG are this type of
special function that performs arithmetic computations over a set of rows
Used with GROUP BY
HAVING - Answer GROUP BY is restricted by this
ORDER BY - Answer clause that is used to sort the output of SELECT
statement in ascending or descending
Join - Answer operation that is performed every time you specify two or more
tables in the FROM clause and use a join condition in the WHERE
*if you forget this /Cartesian prodct/ automatically used*
Operational Data - Answer structured for fast and reliable transaction
processing
,not for decision support
Decision Support Data - Answer differs from operational data in 3 ways: time
span, granularity, dimensionality
Data warehouse - Answer read-only database optimized for data analysis and
query processing
data mart - Answer small, single-subject data warehouse subset that provides
decision support to a small group of people
volume, velocity, variety - Answer 3 Vs of Big Data DBs
Abstract data type - Answer data type that describes a set of similar objects with
shared and encapsulated data representation and methods
used to describe complex objects
analytical database - Answer db focused primarily of storing historical data and
business metrics used for tactical or strategic decision making
cascading order sequence - Answer a nested ordering sequence for a set of
rows, such as a list in which all last names are alphabetically ordered and,
withing the last names all first names are ordered
class - Answer a collection of similar objects with shared strx (attr) and
behavior (methods)
, encapsulates obj data rep and a method's implementation
organized in a hierarchy
class diagram - Answer diagram used to rep data and their rlxns in UML obj
notation
conceptual model - Answer provides global view of an entire DB and describes
the main data obj, avoiding details
conceptual schema - Answer rep of the conceptual model, usually expressed
graphically
COUNT - Answer SQL aggregate fxn that outputs number of rows containing
not null vals for a given col or expression
sometimes used with DISTINCT
data anomaly - Answer data abnormality which inconsistent changes have been
made to DB
data cube - Answer based on x-, y-, z-axes; static (no ad hoc queries allowed)
data node - Answer one of the 3 types of nodes in Hadoop Distributed File System
that stores fixed-size data blocks (that can be replicated)