Learning Journal Week 4
We’re halfway through the course, and I feel like I’ve picked up alot more than I expected. In the early labs I learned how to write SQL queries for a single table, then moved on to joins and subqueries to pull info from multiple tables. I also figured out how to use GROUP BY and aggregation functions to answer questions like totals or averages. On the design side, I practiced making ER diagrams and normalizing data so it isn’t repeated everywhere. The labs on keys and constraints helped me understand why primary and foreign keys are so important to keep tables connected. More recently, I worked with indexes, transactions, and concurrency. Indexes are like shortcuts that make searching faster, and transactions showed me how commit and rollback can keep the database safe if something goes wrong. Overall, I’m definately feeling more comfortable with the basics now. I still have a few questions I want to work on. How do I know when it’s really worth creating an index, and when it’s just...