Lab SQL Basics - Relearning Selection, Filtering and Aggregation in SQLite #169
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This was my first SQL lab in the bootcamp, and it felt like reopening a part of my brain that had been quiet for a while.
I worked with the lab1_bank.sqlite database, which includes tables like client, loan, card, and order.
The goal was to remember how to think in SQL again — how queries flow from selecting, filtering, grouping, and ordering data logically.
It took me a few tries to get back into it, especially catching small mistakes like column names or typos.
But slowly, I started to feel that sense of structure and clarity again — seeing the pattern, testing, and confirming the logic.
Each query is commented in Portuguese so I can read it later and still understand what I was doing and why.
I wrote everything in a way that matches how I actually learn — by connecting the steps to meaning, not just memorizing syntax.
Beyond the technical part, this lab was also an emotional milestone.
After a long time of instability and feeling disconnected due to bipolar disorder, being able to focus, code, and think logically again felt grounding.
This lab wasn’t just about SQL — it was about coming back to myself, one line of code at a time.
These queries are also the foundation for data extraction and analysis pipelines that will later support MyCarbonAI.
But for now, what matters most is that I’m coding again — and that feels huge.