
In my computer science class, I studied databases and SQL, focusing on how data is stored, organized, and queried efficiently. Instead of seeing data as random information, this lesson emphasized structured thinking and logical design.
We began with the fundamentals of databases, learning why tables are used and how rows and columns represent records and fields. A key part of the lesson was understanding primary keys and how they uniquely identify each record, ensuring data integrity and preventing duplication. We also looked at how relationships between tables work, especially when linking data across multiple tables.
The main focus, however, was SQL (Structured Query Language). We practiced writing queries to retrieve specific data using commands such as Select, along with conditions to filter results. The challenge wasn’t memorizing syntax, but thinking clearly about what data was needed and how to express that request precisely in SQL.
We also explored how SQL can be used to sort data, limit results, and perform basic calculations. Some tasks required combining multiple conditions, which demanded careful logical reasoning to avoid errors or unintended results. These exercises showed how powerful SQL can be when used correctly, even with relatively simple commands.
Overall, this lesson made databases feel practical and essential. Learning SQL improved my ability to think systematically, break problems into smaller steps, and work with large sets of data efficiently — skills that are increasingly important in computer science and real-world applications.
Leave a comment