

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!


Reduces redundancy, improves integrity, security, data sharing, backup/recovery and supports multi-user access.
Physical level (how data stored), Logical level (what data stored), View level (user-specific view).
Ability to change schema without affecting applications. Types: Logical and Physical.
Entity, Attribute, Relationship. Converted into tables using keys and foreign keys.
Primary Key uniquely identifies records; Foreign Key links tables; Candidate Key can become primary key.
Organizes data to remove redundancy. 1NF removes repeating groups, 2NF removes partial dependency, 3NF removes transitive dependency.
Normalization improves consistency; Denormalization improves performance.
Atomicity, Consistency, Isolation, Durability ensure reliable transactions.
Unauthorized access, SQL injection, data theft. Solutions: authentication, authorization, encryption.
Manages simultaneous transactions using locking, timestamps and MVCC.
Extended ER model with specialization, generalization and inheritance.
Logical: conceptual changes don't affect views. Physical: storage changes don't affect schema.
1:N -> foreign key on N side. M:N -> create separate relationship table.
Standard language for creating, querying and managing databases.
INT, FLOAT, CHAR, VARCHAR, DATE, BOOLEAN etc.
CREATE, ALTER, DROP, TRUNCATE define database structure.
INSERT, UPDATE, DELETE manipulate data.
SELECT retrieves data, WHERE filters rows, ORDER BY sorts results.
Pattern matching using % (many chars) and _ (single char).
IN checks values in a list; BETWEEN checks range.
String: UPPER(), LOWER(); Date: SYSDATE; Numeric: ROUND(), ABS().
COUNT(), SUM(), AVG(), MAX(), MIN() often used with GROUP BY and HAVING.