📊 Report at the end.
Snow Queen's 24-day storytelling marathon shows strategic pacing with Christmas Eve climax. Consistent engagement throughout.
✅ Window functions: SUM+OVER
✅ Chronological ordering
✅ Running total tracking
📊 Report at the end.
Snow Queen's 24-day storytelling marathon shows strategic pacing with Christmas Eve climax. Consistent engagement throughout.
✅ Window functions: SUM+OVER
✅ Chronological ordering
✅ Running total tracking
5DLEFT!? Jack wants to review cocoa braeks, ype and location he drank it in:
✅ Combining multiple tables using `JOIN`
✅ Understanding foreign key relationships
✅ Retrieving descriptive data instead of IDs
✅ Reading relational logic from plain English
5DLEFT!? Jack wants to review cocoa braeks, ype and location he drank it in:
✅ Combining multiple tables using `JOIN`
✅ Understanding foreign key relationships
✅ Retrieving descriptive data instead of IDs
✅ Reading relational logic from plain English
Calculating totals with conditions
✅ Filtering rows with WHERE
✅ Using BOOLEAN columns in conditions
✅ Applying aggregate functions (SUM)
Calculating totals with conditions
✅ Filtering rows with WHERE
✅ Using BOOLEAN columns in conditions
✅ Applying aggregate functions (SUM)
How much did she improved? We'll find first and last score per subject:
✅ window functions with `PARTITION BY`
✅ `FIRST_VALUE()` and `LAST_VALUE()`
✅ window frame explicitly
✅ and read business logic from plain English
How much did she improved? We'll find first and last score per subject:
✅ window functions with `PARTITION BY`
✅ `FIRST_VALUE()` and `LAST_VALUE()`
✅ window frame explicitly
✅ and read business logic from plain English
Cindy Lou appears! She would like the tasks to be categorized by noise level (CASE WHEN :)
✅ Creating conditional logic with CASE WHEN
✅ Classifying rows based on numeric thresholds
✅ Creating new categorical columns
✅ Reading business rules from plain English
Cindy Lou appears! She would like the tasks to be categorized by noise level (CASE WHEN :)
✅ Creating conditional logic with CASE WHEN
✅ Classifying rows based on numeric thresholds
✅ Creating new categorical columns
✅ Reading business rules from plain English
Helping Buddy decide which tasks he can do from under the blanket. 'Work From Home' or 'Low Priority tasks only'.
✅ Filtering rows using `WHERE`
✅ Logical operators (`OR`)
✅ Selecting specific conditions from a table
✅ Plain English → SQL
Helping Buddy decide which tasks he can do from under the blanket. 'Work From Home' or 'Low Priority tasks only'.
✅ Filtering rows using `WHERE`
✅ Logical operators (`OR`)
✅ Selecting specific conditions from a table
✅ Plain English → SQL
The Grinch wants to see how his mischief score changes each day compared to the previous day.
✅ Comparing rows using window functions
✅ LAG() to access the previous row
✅ Calculated columns based on previous values
✅ Tracking daily increases or decreases
The Grinch wants to see how his mischief score changes each day compared to the previous day.
✅ Comparing rows using window functions
✅ LAG() to access the previous row
✅ Calculated columns based on previous values
✅ Tracking daily increases or decreases
Helping Productivity Club to calculate each member’s focus_end_date, 14 days after their start_date
✅ Days to a date using SQLite
✅ Creating calculated columns with DATE()
✅ Date modifiers ('+14 days')
✅ Returning the original table plus a new column
Helping Productivity Club to calculate each member’s focus_end_date, 14 days after their start_date
✅ Days to a date using SQLite
✅ Creating calculated columns with DATE()
✅ Date modifiers ('+14 days')
✅ Returning the original table plus a new column
12 official days till christmas (yesterday yey):
Santa’s team wants to find the lowest and highest behavior scores recorded this year.
✅ minimum = MIN()
✅ maximum = MAX()
✅ Aggregate functions without `GROUP BY`
✅ Extremes from an entire table
12 official days till christmas (yesterday yey):
Santa’s team wants to find the lowest and highest behavior scores recorded this year.
✅ minimum = MIN()
✅ maximum = MAX()
✅ Aggregate functions without `GROUP BY`
✅ Extremes from an entire table
12 like the song, today we'll identify each day’s most active user(s):
✅ Count messages per user per day.
✅ Find the day’s most active users.
✅ Use a correlated subquery to compare daily counts.
✅ Use HAVING with MAX() to return all top users, even in ties.
12 like the song, today we'll identify each day’s most active user(s):
✅ Count messages per user per day.
✅ Find the day’s most active users.
✅ Use a correlated subquery to compare daily counts.
✅ Use HAVING with MAX() to return all top users, even in ties.
Creating all tinsel light color pairs and add a column joining both names with a dash.
✅ Text filtering (case-insensitive searching)
✅ Data cleaning (normalizing text fields)
✅ String manipulation en SQL
SELECT + WHERE + column transformation
Creating all tinsel light color pairs and add a column joining both names with a dash.
✅ Text filtering (case-insensitive searching)
✅ Data cleaning (normalizing text fields)
✅ String manipulation en SQL
SELECT + WHERE + column transformation
We calculate the average baking time for each oven and round the result to one decimal place.
+ TIPS to ask the AI support!! Nos vemos ;)
We calculate the average baking time for each oven and round the result to one decimal place.
+ TIPS to ask the AI support!! Nos vemos ;)
The elves are testing new tinsel light combinations to find the next big holiday trend. Here we are generating every possible pairing of tinsel colors and light colors and include in our output a column that combines the two values separated with a dash ‘-’.
The elves are testing new tinsel light combinations to find the next big holiday trend. Here we are generating every possible pairing of tinsel colors and light colors and include in our output a column that combines the two values separated with a dash ‘-’.
Mrs. Claus is organizing the holiday storage room and wants a single combined list of all decorations. Both Christmas trees and light sets.
Finally, storage 🫙
Mrs. Claus is organizing the holiday storage room and wants a single combined list of all decorations. Both Christmas trees and light sets.
Finally, storage 🫙
How many unique snowflake types were recorded on the December 24th, 2025.
How many unique snowflake types were recorded on the December 24th, 2025.
Calculating the annual snowfall for each resort and dividing them into quartiles (four groups) based on their snowfall levels.
PD.I've got some issues yesterday with sending by phone, I had to do it and edit it today, but here we are!
Calculating the annual snowfall for each resort and dividing them into quartiles (four groups) based on their snowfall levels.
PD.I've got some issues yesterday with sending by phone, I had to do it and edit it today, but here we are!
You are doing great!! You can do it!!
You are doing great!! You can do it!!
Narrative skills, enjoy!!
Narrative skills, enjoy!!
-Day 3 of advent calendar on sql
-Day 3 of advent calendar on sql
(edit skills +1!)
(edit skills +1!)
-- Day one of POSTGRESQL
Database normalization helps reduce redundancy by splitting large tables into smaller ones and organizing data logically.
-1NF ensures atomic values
-2NF removes partial dependencies
-3NF eliminates transitive dependencies to keep data clean and consistent
Dynamic!
-- Day one of POSTGRESQL
Database normalization helps reduce redundancy by splitting large tables into smaller ones and organizing data logically.
-1NF ensures atomic values
-2NF removes partial dependencies
-3NF eliminates transitive dependencies to keep data clean and consistent
Dynamic!
-- Stored procedure for inserting randomly generated records
-- Stored procedure for inserting randomly generated records
Rights deserved here
Rights deserved here