Normalizations: (3) - ANSWER: Evaluating and correcting table architectures
to reduce data redundancy.
-1nf -2nf
-3nf
1NF (First Normal Form) - Answer Table Format. There are no recurring
groupings, and the primary key has been discovered.
2NF (Second Normal Form): ANSWER 1NF with no partial dependencies.
3NF (Third Normal Form): ANSWER 2NF with no transitive dependencies.
Dependencies (4) - ANSWER: Functional Dependency.
-Full functional dependency
-Partial dependency
-Transitive Dependency
Functional Dependency: ANSWER The attribute B is functionally reliant on the
characteristic A if each value of A affects exactly one value of B.
Full Functional Dependency - Answer If attribute B is functionally reliant on a
composite key A but not on any of its subsets, then it is fully functionally
dependent on A.
Partial Dependency - A functional dependence in which the determinant is only
part of the primary key.
Transitive Dependency - The ANSWER attribute depends on another attribute
that is not part of the main key.
, DDL (Data Definition Language): ANSWER Tables, views, functions, and
stored procedures are examples of database objects that may be created and
modified using SQL.
DML (Data Manipulation Language): ANSWER A portion of SQL that is used
to query, insert, update, and delete data from a database.
CREATE DATABASE – ANSWER The SQL command for creating a
database.
CREATE DATABASE database_name;
CREATE TABLE, ANSWER Adds a new table to the user's database schema.
CREATE TABLE tablename (AS)
ALTER TABLE, ANSWER Changes a table's definition (adds, updates, or
removes attributes or constraints)
ALTER TABLE Table_Name
ADD column_name, datatype;
OR ALTER COLUMN column_name datatype.
Alternatively, drop column_name.
DROP TABLE - ANSWER drops an existing table in a database.
DROP TABLE tablename.
INSERT -- ANSWER The INSERT INTO statement is used to create new
records in a table.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Boostertips. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.