Top Tweets for #30DaysOfSQL
Day 30 of #30DaysOfSQL
I wrapped up this challenge with a Top Customers table from the Sakila DB:
1.Shows Total spend & rentals per customer
2.Breaks rentals down by category
3.Includes JSON arrays of all rented films
4. Used window functions and CTEs
#datafam #techtwitter
Day 30 of #30DaysOfSQL
I wrapped up this challenge with a Top Customers table from the Sakila DB:
1. Shows Total spend & rentals per customer
2.Breaks rentals down by category
3.Includes JSON arrays of all rented films
4. Used window functions and CTEs
#datafam #techtwitter
Day X of #30DaysOfSQL π
Today I explored ROLLUP in MySQL.
Itβs like running multiple GROUP BY queries at once. It is perfect for subtotals & grand totals.
Task : Use Rollup to see payments by staff id and customer id
#datafam #techtwitter

Day 28 of #30DaysOfSQL
Today I worked with JSON functions in SQL.
This is perfect for APIs & modern applications.
Task: Generate a JSON array of all films rented by each customer
#SQL #30DaysOfSQL #DataEngineering #datafam #buildinpublic #TechTwitter

Day 28 of #30DaysOfSQL
Today I worked with JSON functions in SQL.
This is perfect for APIs & modern applications.
Task: Generate a JSON array of all films rented by each customer
#SQL #30DaysOfSQL #DataEngineering #datafam #buildinpublic #TechTwitter

Day 27 of #30DaysOfSQL
Today I used conditional aggregation to create a pivot table in SQL. I turned customer payments into monthly columns (Jan, Feb, Mar 2006).
Pivoting makes it easier to compare values side by side
#datafam #SQLServer #mysql #DataCleaning #buildinpublic #build

Day 27 of #30DaysOfSQL
Today I used conditional aggregation to create a pivot table in SQL.
I turned customer payments into monthly columns (Jan, Feb, Mar 2006).
Pivoting makes it easier to compare values side by side
#datafam #SQLServer #mysql #DataCleaning #buildinpublic

Day 26 of #30DaysOfSQL
Today I combined CTEs + Window Functions.
Using ROW_NUMBER() & LAG(), I tracked the current rentals of customers with their previous rental.
Task : Find the current and previous rentals for the first 20 customers.
#datafam #techtwitter #buildininpublic

Day 25 of #30DaysOfSQL
Today I used the FIRST_VALUE() window function.
A powerful way to track "firsts" (like first purchase, first login, etc.) in data.
Task: Find the first film rented per customer.
#datafam #techtwitter #TechTips #TechTrends #Database

Day 25 of #30DaysOfSQL
Today I used the FIRST_VALUE() window function.
A powerful way to track "firsts" (like first purchase, first login, etc.) in data.
Task: Find the first film rented per customer.
#datafam #techtwitter #TechTips #TechTrends #Database

Day 24 of my #30DaysofSQL
Today I explored recursive CTEs.
Recursive queries arenβt just theory, theyβre key for time-series analysis.
Task: Generate dates for all rentals and count rentals per day.
#datafam #techtwitter #sql #DataDriven

Day 24 of my #30DaysofSQL
Today I explored recursive CTEs.
Recursive queries arenβt just theory, theyβre key for time-series analysis.
Task: Generate dates for all rentals and count rentals per day.
#datafam #techtwitter #sql #DataDriven

Day 23 of #30DaysOfSQL
Today I used NTILE() to divide films into 4 quartiles by rental rate in the Sakila DB.
Task: Divide customers into 4 quartiles based on their total payments, show quartiles each belong to.
#SQLChallenge #DataAnalytics #TechTwitter #TechTips #TechTrends

Day 22 of my #30DaysOfSQL
Today I explored LAG() function which makes it easier to compare rows without messy self-joins
Task : Show the previous rental date for each customers
#SQLChallenge #MySQL #LearnSQL #DataAnalytics #Sakila #SQLTips #TechTwitter #TechTip

Day 22 of my #30DaysOfSQL
Today I explored LAG() function which makes it easier to compare rows without messy self-joins
Task : Show the previous rental date for each customers
#SQLChallenge #MySQL #LearnSQL #DataAnalytics #Sakila #SQLTips #TechTwitter #TechTips #TechTrends

Day 21 of My #30DaysOfSQL
Today I explored the RANK() function.
I ranked films by their rental duration within each category.
Task: Rank films by rental rate within each category.
#SQLChallenge #MySQL #LearnSQL #DataAnalytics #Sakila #SQLTips #TechTwitter #TechTips #TechTrends

Day 21 of My #30DaysOfSQL
Today I explored the RANK() function.
I ranked films by their rental duration within each category.
Task: Rank films by rental rate within each category.
#SQLChallenge #MySQL #LearnSQL #DataAnalytics #Sakila #SQLTips #TechTwitter #TechTips #TechTrends

Day 20 of My #30DaysOfSQL
Today I explored Window Functions.
I used ROW_NUMBER() to rank films by rental duration within each category.
Task : Rank all film in its category and give each a unique number, ignore ties.
#SQL #MySQL #DataAnalytics #DataScience #datafam #TechTwitter

Day 20 of My #30DaysOfSQL
Today I explored Window Functions.
I used ROW_NUMBER() to rank films by rental duration within each category.
Task : Rank all film in its category and give each a unique number, ignore ties.
#SQL #MySQL #DataAnalytics #DataScience #datafam #TechTwitter

Day 19 of My #30DaysOfSQL
Today I explored CTEs (Common Table Expressions).
They make queries cleaner and easier to manage, especially when breaking down complex logic step by step.
#SQL #MySQL #DataAnalytics #DataScience #datafam #TechTwitter #TechTrends #TechAfrica #TechTips

Day 19 of My #30DaysOfSQL
Today I explored CTEs (Common Table Expressions).
They make queries cleaner and easier to manage, especially when breaking down complex logic step by step.
#SQL #MySQL #DataAnalytics #DataScience #datafam #TechTwitter #TechTrends #TechAfrica #TechTips

Day 18 of My #30DaysOfSQL
Today I used GROUP BY with HAVING.
Instead of filtering individual rows (like WHERE does), HAVING filters aggregate results.
Task : Find films that were rented more than 30 times in the . #DataAnalytics #datafam #TechTwitter #TechTrends #TechAfrica

Day 18 of My #30DaysOfSQL
Today I used GROUP BY with HAVING.
Instead of filtering individual rows (like WHERE does), HAVING filters aggregate results.
Task : Find films that were rented more than 30 times in the .
#DataAnalytics #datafam #TechTwitter #TechTrends #TechAfrica

Day 17 of My #30DaysOfSQL
Today I simulated the INTERSECT operator in MySQL using an INNER JOIN.
Task : Find all film IDs in inventory and rental. A useful trick since MySQL do not support INTERSECT directly.
#DataAnalytics #datafam #TechTwitter #TechTrends #TechAfrica

Day 17 of My #30DaysOfSQL
Today I simulated the INTERSECT operator in MySQL using an INNER JOIN.
Task : Find all film IDs in inventory and rental.
A useful trick since MySQL do not support INTERSECT directly.
#DataAnalytics #datafam #TechTwitter #TechTrends #TechAfrica

Day 15 of My #30DaysOfSQL
Today I played with EXISTS clause. Perfect for checking if a related record exists without joining tables.
Today's Task : Show all films that have at least 1 inventory copy.
#SQL #MySQL #datafam #LearnSQL #TechTwitter #TechAfrica #TechTrends

Day 15 of #30DaysOfSQL
Today I played with EXISTS clause.
Perfect for checking if a related record exists without joining tables.
Today's Task : Show all films that have at least 1 inventory copy.
#SQL #MySQL #datafam #LearnSQL #TechTwitter #TechAfrica #TechTrends

Day 14 of My #30DaysOfSQL
Today I worked with correlated subqueries(inner queries that depend on the outer query).
Task: Find customers who made more than 5 rentals and their number of rentals.
#datafam #DataAnalytics #LearnSQL #TechTwitter #TechTrends #TechAfrica #SQL

Day 14 of My #30DaysOfSQL
Today I worked with correlated subqueries(inner queries that depend on the outer query).
Task: Find customers in who made more than 5 rentals and their number of rentals.
#datafam #DataAnalytics #LearnSQL #TechTwitter #TechTrends #TechAfrica #SQL

Day 13 of My #30DaysOfSQL
Today I used a scalar subquery to pull extra insight
directly into my SELECT statement.
Today's Task: Find each payment and how it compares to the average payment.
#SQL #MySQL #datafam #DataAnalytics #LearnSQL #TechTwitter #TechTrends #TechAfrica https://t.co/OPKNeeK26C
Last Seen Hashtags on Sotwe
vietnameseslut
Seen from Netherlands
DamMmnn
Seen from Korea
mgai
Seen from United Kingdom
minichattttt
Seen from Australia
servicioSEAT
Seen from Peru
η·ε°ε₯³ε
λΈκΈ°λΉλΉλ©΄
Seen from Indonesia
cumtrib
Seen from United Kingdom
μΈμ²κ΄ν΄κ΅¬λ¦
Seen from Vietnam
omegle()**********
Seen from Turkey
Trends for you
1
2
3
4
5
6
7
8
9
10
Most Popular Users

Elon Musk 
@elonmusk
239.3M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.2M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.6M followers

X 
@x
60.6M followers
