• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 5 páginas
Otro

Isa 345 Exam 1 – Code Study Guide

Document preview thumbnail
Vista previa 2 fuera de 5 páginas

ISA 345 EXAM 1 – CODE STUDY GUIDE

Vista previa del contenido

ISA 345 EXAM 1 – CODE STUDY GUIDE

entities - Answers -gives the framework for the table

abstraction of a table (logical construct)

Like the picture modeling

attribute - Answers -discrete data element that describes an entity
- names are unique within the database model and meaningful

Popular types of attributes - Answers -- numeric (integer, smallint, decimal, number)
- string (char, varchar, varchar2)
- date (date)

naming conventions in class - Answers -Attribute types and the first letter of attribute
names in capital letters

If more than one word, words will be combined into one with first letter of each
capitalized

identifier - Answers -another word for primary key

can be an attribute or a collection of attributes

Oracle SQL developer uses P and PL to denote

Creating a table in SQL coding - Answers -CREATE TABLE <table-name>(
<column-list>
[<constraint-list>]
);

Where <column-list> lists attribute names and types
[<constraint-list>] lists optional external constraints

Example of a Table being made - Answers -CREATE TABLE FACULTY(
Age SMALLINT CONSTRAINT AgeNotNull NOT NULL,
Salary NUMBER(9,2),
CONSTRAINT AgeOver0 CHECK(Age >0)

Integrity constraints - Answers -define valid sets of values for each attribute

Constraints we learn about - Answers -PRIMARY KEY
UNIQUE
NOT NULL

, CHECK
FOREIGN KEY

inline constraints - Answers -defined after an attribute's type

CONSTRAINT <ConstraintName><Constraint-Spec>

EX: DeptNo SMALLINT CONSTRAINT DeptNoPK PRIMARY KEY

PRIMARY KEY constraint - Answers -specifies a set of col that are the primary key

Composite primary key - Answers -primary key combo from more than one column

Must be external constraint

external constraint - Answers -written after all attributes are written

CONSTRAINT <ConstraintName>

EX: CONSTRAINT AgeOverZero CHECK(Age>0)

Unique constraint - Answers -constrains a column so that no two of its values are equal

EX: SSN Number(10) CONSTRAINT SSNUnique UNIQUE

NOT NULL constraint - Answers -constrains a col so that it cannot have a missing/null
value

ALWAYS inline

EX: PersonName VARCHAR(12) CONSTRAINT NameNotNUll NOT NULL

CHECK constraint - Answers -define a set of values for one or more variables

EX: CONSTRAINT AgeOver0 CHECK(Age >0)

How to fix the issue of not being able to make a table because a table with the name
already exists - Answers -DROP TABLE

DROP TABLE form - Answers -DROP TABLE <table-name> [<constraint-list>];

Where [<constraint-list>] lists optional constraints

ALTER TABLE - Answers -allows a table to be changed, added to, or deleted from

ALTER TABLE

Información del documento

Subido en
23 de enero de 2026
Número de páginas
5
Escrito en
2025/2026
Tipo
Otro
Personaje
Desconocido
$12.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
GEEKA
3.8
(380)
Vendido
2250
Seguidores
1452
Artículos
64130
Última venta
9 horas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes