Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

INSY 3304 Exam 2 QUESTIONS AND ANSWERS 100% CORRECT

Document preview thumbnail
Preview 2 out of 6 pages

INSY 3304 Exam 2 QUESTIONS AND ANSWERS 100% CORRECTINSY 3304 Exam 2 QUESTIONS AND ANSWERS 100% CORRECTINSY 3304 Exam 2 QUESTIONS AND ANSWERS 100% CORRECTNormalization - ANSWER-process of assigning attributes to the entities to which they belong Reduces data anomalies Assigns attributes to tables based on determination Goal: eliminate unnecessary redundancy normal forms - ANSWER-1NF, 2NF, 3NF 1NF - ANSWER-Table format No repeating groups Primary key identified 2NF - ANSWER-Meets reqs for 1NF No partial dependencies 3NF - ANSWER-Meets reqs for 2NF No transitive dependencies

Content preview

INSY 3304 Exam 2 QUESTIONS AND
ANSWERS 100% CORRECT
Normalization - ANSWER-process of assigning attributes to the entities to which they
belong
Reduces data anomalies
Assigns attributes to tables based on determination
Goal: eliminate unnecessary redundancy

normal forms - ANSWER-1NF, 2NF, 3NF

1NF - ANSWER-Table format
No repeating groups
Primary key identified

2NF - ANSWER-Meets reqs for 1NF
No partial dependencies

3NF - ANSWER-Meets reqs for 2NF
No transitive dependencies

dependencies - ANSWER-functional
full functional
partial
transitive

Functional - ANSWER-one attribute determines another

Full Functional - ANSWER-Best dependency to have
The whole table can be determined only by the primary key
Exists if all non-key attributes are determined by the key, the whole key, and nothing but
the key
Goal of 3NF is full functional dependency

Partial - ANSWER-functional dependence in which the determinant is only part of the
primary key
Assumption: 1 candidate key
Straight forward
Easy to identify
Allowed in 1NF
Not allowed in 2NF

, Transitive - ANSWER-attribute is dependent on another attribute that is not part of
primary key
More difficult to identify
Occur when a functional dependence exists among nonprime attributes
Allowed in 1NF
Allowed in 2NF


CREATE SCHEMA AUTHORIZATON - ANSWER-ansi standard, more common is
create db

CREATE TABLE - ANSWER-creates a new table in user's db schema

ALTER TABLE - ANSWER-modifies a table's def
add columns, delete columns, add constraints

DROP TABLE - ANSWER-permanently deletes a table & its data

CREATE TABLE AS - ANSWER-creates a new table based on a query in user's db
schema

INSERT - ANSWER-inserts rows into a table
Syntax: INSERT INTO TABLE VALUES(0,'Chars',0);

SQL - ANSWER-structured query lang
Non procedural, all commands
All commands have semicolon at end
Utility functions have no semicolons

2 types of commands - ANSWER-DDL - data definition lang
DML - data manip lang

DDL - ANSWER-data definition lang
Allow u to define db
Written to disk automatically

DDL examples - ANSWER-CREATE TABLE
NOT NULL
UNIQUE
PRIMARY KEY
FOREIGN KEY
CREATE INDEX
CREATE VIEW
ALTER TABLE
DROP TABLE
DROP INDEX

Document information

Uploaded on
December 6, 2024
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$14.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
NursingTutor1
3.9
(459)
Sold
1699
Followers
1073
Items
18441
Last sold
23 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions