Filter
Exclude
Time range
-
Near
After yesterday at work I have realised that I really need to learn #SQL #WindowFunctions. I found a couple of videos but are there any books or websites that cover this so I can look later? (YouTube is banned at work.) Ideally having examples using AdventureWorks please. #SSMS
32
🚀 4 Window Functions Jo Har Backend Developer Ko Pata Hone Chahiye! Pehle purane tareeke se struggle karte the — self joins, multiple queries, temp tables… Ab ye 4 functions seekh lo toh life set hai: 1️⃣ ROW_NUMBER(), RANK(), DENSE_RANK() 2️⃣ LAG() & LEAD() — pichla/next value compare karne ke liye 3️⃣ Running Total with SUM() OVER() 4️⃣ PARTITION BY — group-wise magic Ek baar samajh aa gaya toh bahut saare complex queries ek line mein ho jayenge! 💯 Kaunsa function pe detailed video chahiye? Comment mein batao 👇 Follow @DevNotes_io for more real SQL & Backend tips! #SQL #WindowFunctions #BackendDeveloper #SQL #WindowFunctions #SQLTips #PostgreSQL #MySQL #BackendDeveloper #Database #TechHindi #CodingTips #DeveloperLife #SQLPerformance #DataEngineering #DevNotesIO
1
2
89
خلصنا أسبوع SQL كامل! 🔥 اليوم نجرب استعلام متقدم يجمع بين 3 أدوات قوية في سطر واحد: ✅ JOIN → لربط الجداول ✅ GROUP BY → لتلخيص البيانات ✅ Window Function → لحساب قيم متقدمة بدون فقدان الصفوف مثال عملي: حساب إجمالي المبيعات لكل عميل نسبة مبيعاته من إجمالي المنطقة اللي هو فيها. شارك الكود تحت في الردود 👇 وأنا أراجعه معاك خطوة بخطوة وأصحح أي خطأ. #SQL #تحليل_البيانات #داتا_أناليست #WindowFunctions #DataAnalyst
9
750
🧠 ROW_NUMBER() for Deduplication Keeps one row, removes rest — safely. #SQL #WindowFunctions #AdvancedSQL
2
13
Want to rank rows within groups? Try this: RANK() OVER(PARTITION BY department ORDER BY salary DESC) Ranks employees by salary per department — ties included. Use DENSE_RANK() (no gaps) or ROW_NUMBER() (no ties) as needed. #SQL #WindowFunctions #Ranking
3
20
Example: SUM(sales) OVER(PARTITION BY region) ✅ Keeps all rows ✅ Shows total sales per region ✅ No GROUP BY needed Perfect for dashboards analytics 📊 #SQLTips #WindowFunctions
1
3
25
Window functions in SQL = magic ✨ They let you run totals, ranks, and comparisons without collapsing rows. Think OVER(PARTITION BY ...), not GROUP BY. Same data, more insights. #SQL #WindowFunctions #DataScience
1
3
29
Window Functions Intro. 📈 Window Functions = Game Changer Examples: • ROW_NUMBER() • RANK() • DENSE_RANK() Used heavily in analytics. #SQL #WindowFunctions #DataAnalytics
2
9
movingWindowIndex(X, window) — generate sliding‑window index arrays for vectorized window operations! 🔢 Fixed‑length & dynamic‑length modes enable efficient rolling calculations without loops. #DolphinDB #WindowFunctions #Vectorization
3
12
16 Nov 2025
Crack even half of these and you’re already ahead of most candidates. 💪 This isn’t the full PDF 💌comment PDF to get the complete guide. #SQL #SQLInterview #DataAnalytics #DataEngineer #DataScience #QueryOptimization #WindowFunctions #CTE #Indexing #TechCareers #Upskill
5
4
1,177
Day 32 of SQL Learning I continued practiced on how to combine multiple window functions in one query to extract deeper insights. #SQL #DataAnalytics #LearningInPublic #100DaysOfSQL #WindowFunctions #TechJourney #StudentInTech
2
4
55
16 Jul 2025
Day 30 of #TheAIandDataStreak100 Deep-dived into SQL window functions today — RANK(), LEAD(), LAG(), FIRST_VALUE() & more. Game-changer for layered analytics without messy joins. SQL feels smarter now. #SQL #DataAnalytics #WindowFunctions #100daysofcodechallenge
1
3
40
SQL Tip: Rank vs Dense Rank vs Row Number Stop using ‘Rank’ blindly in SQL - here’s the difference between 3 powerful window functions. You probably mixed up these 3: 🏅 RANK() → Skips numbers if there’s a tie 🏅 DENSE_RANK() → No gaps in ranks 🏅 ROW_NUMBER() → Unique row ID per group Use RANK() for competitions, DENSE_RANK() when you don’t want missing numbers, and ROW_NUMBER() when order is key. SQL tricks that make or break interviews 🔥 #SQLTips #WindowFunctions #DataJobs #ShashTalks
1
2
113
💡Want to track monthly sales growth in SQL? This query: 📅 Groups by month 📈 Calculates running total sales 📊 Tracks running avg. price using window functions A clean way to spot trends & momentum over time! #SQL #DataAnalytics #WindowFunctions #DataViz #BusinessIntelligence
7
274
3 May 2025
🚀 Data Science Journey: Day 5/30 Focus: SQL Window Functions 🔹 ROW_NUMBER() – Unique row ranks 🔹 NTILE(n) – Split data into n groups 📌 Use with PARTITION BY ORDER BY for powerful analytics! #SQL #DataScience #100DaysOfCode #WindowFunctions #LearnSQL #SQLTips
5
141
Dropped a routine business problem into @OpenAI’s o3 and—without me nudging it—boom: 🔸 Suggested a SQL VIEW to blend sources 🔸 Used CTEs to keep logic swappable 🔸 Applied window functions for live roll-ups Zero PHP grinding, pure database speed. AI that optimizes before I even ask—chef’s kiss! 👩‍💻✨ #MySQL #CTE #WindowFunctions #Laravel #AI @sama @OpenAI
2
1
12
32,586
🚀 Window Functions no SQL: Dominando Análises Avançadas Como prometido no post de ontem, trago hoje um conteúdo especial sobre as Window Functions (WF) do SQL! 👇 Se você trabalha com bancos de dados, provavelmente já precisou calcular médias móveis, rankings ou totais acumulados sem perder detalhes das linhas originais. E agora, Daniel, o que fazer? É aí que entram as Window Functions! Diferente das funções agregadas comuns (SUM(), AVG(), COUNT()), que reduzem os dados a um único resultado, as Window Functions permitem fazer cálculos sobre um conjunto de linhas sem alterar a granularidade da consulta. 🔎 Principais Window Functions: ✔️ ROW_NUMBER() – Numera as linhas dentro de uma partição. ✔️ RANK() e DENSE_RANK() – Criam rankings, respeitando empates. ✔️ LEAD() e LAG() – Permitem acessar valores da linha anterior ou seguinte. ✔️ SUM() OVER() – Faz somas acumuladas dentro de uma partição. 💡 Vamos de exemplo prático? Manteremos o exemplo do post de ontem. Na consulta abaixo, utilizamos SUM() OVER(ORDER BY order_date ASC) para calcular o total acumulado de vendas por dia, sem perder a granularidade dos dados. Confira na imagem! Com o resultado, geramos: ◾ order_date: Data do pedido ◾ valor_total: Total de vendas no dia ◾ valor_acumulado: Soma acumulada das vendas ao longo do tempo 🔽 Nesse exemplo, é claramente perceptível o poder das Window Functions para análises avançadas. Se você ainda não as usa no dia a dia, recomendo explorar essa poderosa arma no mundo dos dados. 💬 Já conhecia esse recurso do SQL? Qual WF você mais usa? Compartilha aqui nos comentários! #SQL #AnáliseDeDados #Analytics #WindowFunctions
1
11
377
17 Mar 2025
Explain the differences between the following ranking functions: 1. ROW_NUMBER () 2. RANK () 3. DENSE_RANK () #WindowFunctions
1
7
292
Webinar: T-SQL Window Functions for Data Analysis The gaps and islands problem are common in data analysis. Join us for an introduction to the powerful concepts of window functions in T-SQL. #sqlserver #windowfunctions #tsql #dataanalysis mssqltips.com/sql-server-web…

1
3
283