






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
D677 SQL & Database Fundamentals – Guaranteed Pass Study Guide 2026 update
Typology: Summaries
1 / 11
This page cannot be seen from the preview
Don't miss anything!







1️⃣ Database Fundamentals (Core Concepts) A database^ What Is a Database? is an organized collection of data stored electronically.
2️⃣ Entity Relationship (ER) Modeling
-^ Cardinality One-to-One (1:1)
Normal Form Rule 2NF No partial dependency 3NF No transitive dependency Most exam questions focus on identifying violations of 2NF and 3NF. 3️⃣ SQL Fundamentals (Core Commands) SELECT^ SELECT Statement (MOST TESTED) column1, column FROM WHERE table_name condition ORDER BY column; Filtering Operators
Example:^ •^ IS NULL SELECT WHERE * grade FROM >= students 80 ;
4️⃣ Aggregate Functions
Join Returns RIGHT JOIN All right + matches FULL OUTER JOIN All records both sides Example: SELECT s.name, c.course_name FROM INNER students sJOIN courses c ON s.course_id = c.course_id; Exam Tip: If question says “all records from left table,” answer is LEFT JOIN. 7️⃣ SELECT Subqueries name FROM WHERE employees salary > ( SELECT FROM employees AVG(salary) ); Types:
Command Purpose INSERT Add data UPDATE Modify data DELETE Remove data Example: UPDATE students SET WHERE grade id == (^905) ;
9️⃣ Data Definition Language (DDL) Command Purpose CREATE Create table ALTER Modify table DROP Delete table Example: CREATE TABLE students ( id name INT VARCHARPRIMARY (^) (KEY 50 ),,
);^ grade^ INT
-^ Constraints (Frequently Tested) PRIMARY KEY
✔ ✔ JoinsGROUP BY + HAVING ✔ ✔ NormalizationKeys (PK vs FK) ✔ ✔ SubqueriesConstraints ✔ ✔ ACID propertiesSQL syntax errors
1.^ Practice Exam Which join returns all rows from left table? - Style Questions
Day Focus 6 Subqueries + Constraints 7 Full Practice Tests
-^ Final Exam Strategy Read SQL queries carefully