









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










โ Table Constraint Answer: Appears in a SEPARATE clause of a CREATE TABLE statement. โ BETWEEN operator Answer: This operator provides an alternative way to determine if a value is between two other values. โ LIKE operator Answer: When used in a WHERE clause, this operator matches text against a pattern using the two wildcard characters "%" and "_". โ ORDER BY
Answer: This clause orders selected rows by one or more columns in ascending (alphabetical) order. โ JOIN Clause Answer: Determines how a join query handles unmatched rows. โ INNER JOIN Answer: Selects ONLY matching left and right table rows. โ FULL JOIN Answer: Selects ALL left and right table rows, regardless of match. โ LEFT JOIN Answer: Selects all LEFT table rows, but only matching right table rows. โ RIGHT JOIN
Answer: Combines two tables WITHOUT comparing columns. โ DISTINCT clause Answer: Used with a SELECT statement to return only unique or "distinct" values. โ IN operator Answer: This operator is used in a WHERE clause to determine if a value matches one of several values. โ Subquery Answer: Sometimes called a nested query or inner query, is a query within another SQL query. โ Flattening Answer: Replacing a subquery with an equivalent join.
โ Entity Relationship Model Answer: A high-level representation of data requirements, ignoring implementation details. It guides implementation in a particular database system, such as MySQL. โ Entity Answer: A person, place, product, concept, or activity. โ Relationship Answer: A statement about two entities. It links them together. โ Attribute Answer: A descriptive property of an entity. โ ER Diagram Answer: A schematic picture of entities, relationships, and attributes.
Answer: Operations that are the theoretical foundation of SQL. โ Constraints Answer: Implemented rules that are enforced by the database system. โ ALTER Answer: This statement adds, deletes, or modifies columns on an existing table. โ Truth Tables Answer: The value of logical expressions containing NULL operands. โ Identifying Attribute Answer: This attribute is unique, singular, and required. โ Strong Entity
Answer: This entity has one or more identifying attributes. โ Weak Entity Answer: This entity doesn't have an identifying attribute. Usually has a relationship called an identifying relationship, to another entity, called an identifying entity. โ Tablespace Answer: A database object that maps one or more tables to a single file. โ Data Warehouse Answer: A separate database optimized for analytics rather than operations. โ Data Mart Answer: This is a data warehouse designed for a specific business area likes sales, HR, or product development.
โ Reflexive Relationship Answer: Relates an entity to itself. โ IsA Relationship Answer: A supertype entity identifies its subtype entities. โ Partition Answer: A group of mutually exclusive subtype entities. โ Partition Attribute Answer: This is what each partition corresponds to of the supertype entity. โ Artificial Key Answer: A single-column primary key created by the database designer when no suitable single- column or composite primary key exists.
โ First Normal Form (1NF) Answer: What normal form am I? Every cell of a table contains exactly one value. Contains a primary key as well. โ Second Normal Form (2NF) Answer: What normal form am I? All non-key columns depend on the whole primary key. โ Third Normal Form (3NF) Answer: What normal form am I? All non-key columns depend on the key, the whole key, and nothing but the key.
Answer: Eliminates redundancy by decomposing a table into two or more tables in higher normal form. โ Denormalization Answer: Intentionally introducing redundancy by merging tables. โ Single-Level Index Answer: What type of index am I? A file containing column values, along with pointers to rows containing the column value. โ Multi-Column Index Answer: What type of index am I? Each index entry is a composite of values from all indexed columns.
โ Dense Index Answer: What type of index am I? Contains an entry for every table row. โ Sparse Index Answer: What type of index am I? Contains an entry for every table block. โ Table scan Answer: A database operation that reads table blocks directly, without accessing an index. โ Index scan