CST363 Week 4 May 21st - May 27th

Five things i've learned so far in the course so far...

1. Relational Schema Design and Normalization
How to structure data into tables, define their primary and foreign keys, and apply normalization rules to eliminate redundancy and ensure data integrity.

2. Basic CRUD operations with SQL

Writing SELECT, INSERT, UPDATE, and DELETE statements to retrieve and manipulate data, including filtering with WHERE, sorting with ORDER BY, and limiting results with LIMIT

3. Joins and Set Operations

Combining data across multiple tables using INNER JOIN, LEFT/RIGHT JOIN, as well as operations like UNION and EXCEPT to merge or compare result sets.

4. Aggregate Functions and Grouping

Using COUNT(), SUM(), AVG(), MIN(), MAX() along with GROUP BY and HAVING clauses to summarize statistics and filter groups.

5. Database Design

Designing databases by creating ER diagrams using primary and foreign key relationships between entities.


Three questions I have regarding databases...

1. Scaling & Replication

What are the common approaches for scaling a relational database?

2. Implementing ER diagrams

How would you implement an ER diagram into a database and how those entities interact with each other? 

3. Query Optimization

What are best practices for querying data? Is there an optimized way for complex databases?

Comments

Popular posts from this blog

CST Module 4 January 29th - February 4th

CST300 Module 1 January 8th - January 14th

CST Module 3 January 22nd - January 28th