Tagged articles
87 articles
Page 1 of 1
dbaplus Community
dbaplus Community
May 20, 2026 · Databases

Stunning SQL Queries: From Tetris Game to Real‑Time Funnels

This article showcases a collection of impressive SQL queries—including a PostgreSQL Tetris implemented with a recursive CTE, window‑function session analysis, a ClickHouse real‑time funnel, dynamic WHERE clause generation, and a recursive employee hierarchy—while discussing performance tips and engine choices.

clickhousedata-warehousehive
0 likes · 25 min read
Stunning SQL Queries: From Tetris Game to Real‑Time Funnels
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 3, 2026 · Databases

10 Must‑Know MySQL Advanced Techniques to Supercharge Performance

This article presents ten practical MySQL advanced techniques—including EXPLAIN analysis, composite and covering indexes, index condition push‑down, prefix indexes, window functions, CTEs, JSON handling, partition tables, join optimizations, variables, online DDL, and generated columns—each illustrated with real‑world SQL examples and execution‑plan screenshots to boost efficiency in high‑volume, high‑concurrency environments.

Advanced SQLCTEIndex Optimization
0 likes · 16 min read
10 Must‑Know MySQL Advanced Techniques to Supercharge Performance
SpringMeng
SpringMeng
Mar 9, 2026 · Databases

10 Advanced MySQL Techniques to Supercharge Query Performance

This article walks through ten high‑level MySQL tricks—including EXPLAIN analysis, advanced indexing, window functions, CTEs, JSON handling, partitioning, join optimizations, user‑defined variables, online DDL, and generated columns—showing concrete examples, performance trade‑offs, and step‑by‑step guidance for turning slow queries into lightning‑fast operations.

CTEPartitioningindexing
0 likes · 15 min read
10 Advanced MySQL Techniques to Supercharge Query Performance
Su San Talks Tech
Su San Talks Tech
Feb 10, 2026 · Databases

10 Must‑Know MySQL Advanced Techniques to Supercharge Performance

This article presents eleven practical MySQL advanced techniques—including EXPLAIN analysis, sophisticated indexing, window functions, CTEs, JSON handling, partitioning, join optimizations, user variables, online DDL, and generated columns—to help developers dramatically improve query performance and scalability in high‑load environments.

Advanced QueriesJSONPartitioning
0 likes · 18 min read
10 Must‑Know MySQL Advanced Techniques to Supercharge Performance
Architect's Tech Stack
Architect's Tech Stack
Jan 22, 2026 · Databases

Unlock MySQL 8.0: 8 Hidden Optimization Tricks You Must Know

This article reveals eight powerful, lesser‑known MySQL 8.0 features—including window functions, descending indexes, generated columns, invisible indexes, optimizer hints, resource groups, LATERAL JOIN, and multi‑valued JSON indexes—showing how they dramatically improve query performance and simplify complex SQL tasks.

Invisible IndexLATERAL JOINResource Group
0 likes · 12 min read
Unlock MySQL 8.0: 8 Hidden Optimization Tricks You Must Know
Go Development Architecture Practice
Go Development Architecture Practice
Jan 17, 2026 · Databases

What New SQL Features Did SQLite Add in 2018?

This article reviews SQLite's 2018 enhancements, covering boolean literals, window functions, the FILTER clause, upsert syntax, column‑renaming support, and related API changes, while also noting the remaining limitations compared with other major database systems.

Boolean LiteralsDatabase FeaturesSQLite
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018?
Linux Tech Enthusiast
Linux Tech Enthusiast
Dec 25, 2025 · Databases

10 Advanced SQL Query Techniques Every Data Professional Should Master

This article presents ten advanced SQL concepts—including CTEs, recursive CTEs, temporary functions, CASE‑WHEN pivots, EXCEPT vs NOT IN, self‑joins, ranking window functions, delta calculations, cumulative sums, and date‑time manipulation—each explained with concrete examples and code snippets.

CTEData PivotRanking Functions
0 likes · 11 min read
10 Advanced SQL Query Techniques Every Data Professional Should Master
Su San Talks Tech
Su San Talks Tech
Dec 22, 2025 · Databases

10 Advanced SQL Techniques Every Data Professional Should Master

This article presents ten powerful SQL techniques—including CTEs, recursive CTEs, temporary functions, CASE‑WHEN pivots, EXCEPT vs NOT IN, self‑joins, ranking functions, delta calculations, cumulative sums, and datetime manipulation—complete with explanations and runnable code examples for data analysts and engineers.

CTEdata analysisquery optimization
0 likes · 13 min read
10 Advanced SQL Techniques Every Data Professional Should Master
Ray's Galactic Tech
Ray's Galactic Tech
Dec 15, 2025 · Databases

10 Advanced MySQL Techniques to Write Faster, Cleaner SQL

Discover ten powerful MySQL features—including CTEs, window functions, conditional aggregation, JSON handling, generated columns, and UPSERT tricks—illustrated with real‑world examples and performance tips, so you can write SQL that is more efficient, maintainable, and production‑ready.

CTEGenerated ColumnsJSON
0 likes · 15 min read
10 Advanced MySQL Techniques to Write Faster, Cleaner SQL
Selected Java Interview Questions
Selected Java Interview Questions
Dec 5, 2025 · Databases

Unlock MySQL 8.0’s Hidden Optimization Tricks to Supercharge Your Queries

Discover eight powerful, lesser‑known MySQL 8.0 features—including window functions, descending indexes, generated columns, invisible indexes, hints, resource groups, LATERAL JOIN, and multi‑valued JSON indexes—that can dramatically improve query performance, simplify code, and give you an edge in interviews and production environments.

Generated ColumnsJSONLATERAL JOIN
0 likes · 12 min read
Unlock MySQL 8.0’s Hidden Optimization Tricks to Supercharge Your Queries
Data STUDIO
Data STUDIO
Nov 12, 2025 · Databases

7 Reusable DuckDB SQL Patterns for Fast Local Data Analysis

This article presents seven practical DuckDB SQL patterns—querying files directly, treating partition folders as tables, deduplicating with QUALIFY, computing rolling metrics with window functions, pivot/unpivot, handling JSON arrays, and exporting results to Parquet—plus tips and a mini case study that show how to turn a notebook into a lightweight OLAP engine without leaving the Python environment.

DuckDBJSONParquet
0 likes · 12 min read
7 Reusable DuckDB SQL Patterns for Fast Local Data Analysis
Java Backend Technology
Java Backend Technology
Oct 31, 2025 · Databases

10 Essential MySQL Tricks to Boost Performance and Simplify Queries

This article presents ten practical MySQL techniques—from using JSON columns for flexible data to leveraging CTEs, window functions, and advanced clauses like WITH ROLLUP and INSERT IGNORE—each illustrated with real‑world scenarios and ready‑to‑run SQL code to improve query efficiency and developer productivity.

CTEDatabase QueriesJSON
0 likes · 11 min read
10 Essential MySQL Tricks to Boost Performance and Simplify Queries
macrozheng
macrozheng
Sep 29, 2025 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

SQLite, often dismissed as a toy, proves its robustness by adding powerful SQL capabilities in 2018—including boolean literals, window functions, FILTER clauses, upsert syntax, and column renaming—making it a viable choice for production workloads despite lacking a network layer.

New FeaturesSQLiteUpsert
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Code Ape Tech Column
Code Ape Tech Column
Sep 20, 2025 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article explores SQLite's 2018 enhancements—including boolean literals, window functions, FILTER clauses, upsert syntax, and column renaming—detailing how each feature works, its syntax, and practical code examples, while also clarifying limitations compared to other major database systems.

Boolean LiteralsDatabase FeaturesFILTER clause
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Lobster Programming
Lobster Programming
Sep 18, 2025 · Databases

Master MySQL Ranking: row_number, rank, and dense_rank Explained

Learn how MySQL window functions—row_number, rank, and dense_rank—can efficiently rank and rank‑tie data such as class scores or sales amounts, with clear syntax examples, differences in handling duplicate values, and practical SQL queries illustrated with real‑world scenarios.

ROW_NUMBERdense_rankmysql
0 likes · 6 min read
Master MySQL Ranking: row_number, rank, and dense_rank Explained
Su San Talks Tech
Su San Talks Tech
Sep 18, 2025 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article reviews SQLite's 2018 enhancements, covering Boolean literals, window functions, the FILTER clause, upsert syntax, column renaming, and related API changes, with code examples and comparisons to other databases, highlighting its reliability and suitability for production use.

Boolean LiteralsSQLiteUpsert
0 likes · 11 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Architect
Architect
Sep 17, 2025 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article explores the latest SQLite SQL enhancements introduced between versions 3.22.0 and 3.26.0 in 2018, covering boolean literals, window functions, FILTER clauses, upsert syntax, column renaming, and related API changes, with code examples and practical usage notes.

SQLiteUpsertboolean
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 18, 2025 · Databases

Unlocking LeetCode’s Hardest SQL Problem with Window Functions

This article examines LeetCode problem 185 – the hardest SQL challenge – by preparing the Employee and Department tables, presenting two solution approaches (a subquery and a window‑function version), benchmarking their performance on large test data, and explaining why window functions are the superior choice in MySQL 8+.

LeetCodemysqlperformance
0 likes · 10 min read
Unlocking LeetCode’s Hardest SQL Problem with Window Functions
Code Ape Tech Column
Code Ape Tech Column
Aug 13, 2025 · Databases

Master 10 Essential Advanced SQL Concepts Every Data Professional Needs

This article outlines ten crucial intermediate‑to‑advanced SQL techniques—including common table expressions, recursive CTEs, temporary functions, CASE‑WHEN pivots, EXCEPT vs NOT IN, self‑joins, ranking window functions, delta calculations, cumulative sums, and date‑time manipulation—providing explanations and practical query examples for data professionals.

CTEdatabasequery optimization
0 likes · 11 min read
Master 10 Essential Advanced SQL Concepts Every Data Professional Needs
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 8, 2025 · Databases

Master SQL Execution Order, Joins, CTEs & Window Functions

This article provides a comprehensive guide to essential SQL concepts for backend developers and data engineers, covering query execution order, core commands, various join types, common table expressions (including recursive CTEs), window functions, and performance optimization techniques such as table scans and indexing, complete with practical code examples and visual illustrations.

CTEJoinsdatabase
0 likes · 10 min read
Master SQL Execution Order, Joins, CTEs & Window Functions
php Courses
php Courses
Jul 22, 2025 · Databases

10 Must‑Know Advanced SQL Tricks to Boost Your Development Efficiency

This article presents ten essential advanced SQL techniques—including EXPLAIN, window functions, CTEs, bulk operations, index optimization, transactions, JSON handling, temporary tables, proper NULL handling, and recursive queries—to help developers write more efficient, maintainable, and powerful database code.

Advanced QueriesCTEDatabase Optimization
0 likes · 8 min read
10 Must‑Know Advanced SQL Tricks to Boost Your Development Efficiency
ITPUB
ITPUB
Mar 21, 2025 · Databases

What New SQL Features Did SQLite Add Between Versions 3.22 and 3.26?

This article reviews the SQL enhancements introduced in SQLite from version 3.22.0 through 3.26.0, covering boolean literals, window functions, the FILTER clause, upsert syntax, and column‑renaming support, while comparing SQLite's capabilities to other major database engines.

Boolean LiteralsDatabase FeaturesFILTER clause
0 likes · 11 min read
What New SQL Features Did SQLite Add Between Versions 3.22 and 3.26?
DataFunSummit
DataFunSummit
Jan 9, 2025 · Big Data

Spark SQL Window Function Optimizations: Concepts, Techniques, and Q&A

This article explains Spark SQL's window function fundamentals, introduces two key optimizations—Offset Window Frame and Infer Window Group Limit—and provides a detailed Q&A covering implementation details, execution plan impacts, and underlying architecture.

Apache SparkBig DataSQL Performance
0 likes · 13 min read
Spark SQL Window Function Optimizations: Concepts, Techniques, and Q&A
Liangxu Linux
Liangxu Linux
Sep 28, 2024 · Databases

10 Advanced SQL Concepts Every Data Scientist Should Master

This guide walks through ten essential advanced SQL concepts—including CTEs, recursive queries, temporary functions, CASE‑based pivoting, EXCEPT vs NOT IN, self‑joins, ranking functions, delta calculations, cumulative totals, and date‑time manipulation—providing clear explanations and runnable examples to help data‑science professionals ace interview challenges.

Advanced QueriesCTEData Science
0 likes · 11 min read
10 Advanced SQL Concepts Every Data Scientist Should Master
Liangxu Linux
Liangxu Linux
Sep 19, 2024 · Databases

10 Advanced SQL Concepts Every Data Scientist Should Master

This guide walks through ten essential advanced SQL techniques—including CTEs, recursive CTEs, temporary functions, CASE‑WHEN pivots, EXCEPT vs NOT IN, self‑joins, ranking functions, delta calculations with LAG/LEAD, cumulative sums, and date‑time manipulation—to help data professionals ace interview challenges and write cleaner, more powerful queries.

Advanced SQLCTEData Science
0 likes · 11 min read
10 Advanced SQL Concepts Every Data Scientist Should Master
Code Ape Tech Column
Code Ape Tech Column
Jul 5, 2024 · Databases

10 Essential Intermediate to Advanced SQL Concepts

This article presents ten crucial intermediate‑to‑advanced SQL concepts—including CTEs, recursive queries, temporary functions, CASE pivots, EXCEPT vs NOT IN, self‑joins, ranking functions, delta calculations, cumulative totals, and date‑time manipulation—each explained with clear examples and code snippets.

CTEData PivotRecursive Queries
0 likes · 11 min read
10 Essential Intermediate to Advanced SQL Concepts
Top Architect
Top Architect
Apr 2, 2024 · Databases

Ten Advanced SQL Concepts Every Data‑Science Interview Candidate Should Master

This article explains ten advanced SQL techniques—including common table expressions, recursive CTEs, temporary functions, CASE‑WHEN pivots, EXCEPT vs NOT IN, self‑joins, ranking functions, delta calculations, cumulative sums, and date‑time manipulation—providing clear explanations and complete query examples to help readers ace data‑science interview questions.

CTEData Science Interviewsdatabase
0 likes · 14 min read
Ten Advanced SQL Concepts Every Data‑Science Interview Candidate Should Master
Linux Cloud Computing Practice
Linux Cloud Computing Practice
Mar 13, 2024 · Databases

Unlock SQLite’s 2018 SQL Enhancements: Booleans, Window Functions, Upserts & More

This article explores SQLite’s 2018 SQL feature updates—from boolean literals and truth testing to window functions, FILTER clauses, upsert syntax, column renaming, and related API changes—highlighting syntax details, limitations, and practical examples for developers seeking to leverage these modern capabilities in production.

Database FeaturesSQLiteUpsert
0 likes · 10 min read
Unlock SQLite’s 2018 SQL Enhancements: Booleans, Window Functions, Upserts & More
IT Services Circle
IT Services Circle
Jul 16, 2023 · Databases

Using MySQL Window Functions for Ranking, Aggregation, and Data Analysis

This article explains how MySQL 8.x window functions such as OVER, PARTITION BY, and ORDER BY can simplify complex ranking and aggregation queries, demonstrates creating a sample scores table, and provides practical examples of functions like ROW_NUMBER, RANK, DENSE_RANK, NTILE, LAG, and LEAD with their results.

OVERPartitionaggregation
0 likes · 18 min read
Using MySQL Window Functions for Ranking, Aggregation, and Data Analysis
Programmer DD
Programmer DD
May 24, 2023 · Databases

Why SQL Struggles with Complex Queries and How SPL Offers a Solution

This article examines the inherent difficulties of SQL when handling multi‑step, ordered, and object‑referencing queries, illustrates them with practical examples, and introduces the Structured Process Language (SPL) as a more expressive alternative for data processing tasks.

CTESPLquery optimization
0 likes · 16 min read
Why SQL Struggles with Complex Queries and How SPL Offers a Solution
ITPUB
ITPUB
Apr 23, 2023 · Databases

Why SQL Still Dominates Data Analysis: From Relational Algebra to Modern OLAP

This article explains how SQL, built on relational algebra, became the standard analysis language for OLAP engines, covering its history, data models, syntax, functions, aggregation techniques, window functions, subqueries, and practical optimization considerations for modern data warehouses.

OLAPRelational AlgebraSubqueries
0 likes · 46 min read
Why SQL Still Dominates Data Analysis: From Relational Algebra to Modern OLAP
Open Source Linux
Open Source Linux
Mar 21, 2023 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article reviews the SQLite SQL enhancements introduced between versions 3.22.0 and 3.26.0, covering boolean literals, window functions, the FILTER clause, upsert syntax, column renaming, and related API changes, while comparing SQLite’s support to other major database systems.

FILTER clauseSQLiteUpsert
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Java Backend Technology
Java Backend Technology
Sep 17, 2022 · Databases

What New SQL Features Did SQLite Add in 2018?

This article reviews SQLite's 2018 enhancements, covering Boolean literals, window functions, the FILTER clause, UPSERT syntax, column‑renaming support, and other API changes, while comparing SQLite's capabilities to other major database systems.

Boolean LiteralsFILTER clauseSQLite
0 likes · 11 min read
What New SQL Features Did SQLite Add in 2018?
GuanYuan Data Tech Team
GuanYuan Data Tech Team
Aug 18, 2022 · Big Data

Why Spark’s compatiblePartitions Causes CPU Spikes and How to Fix It

The article investigates a Spark driver CPU overload caused by the compatiblePartitions method’s expensive permutation logic in window functions, explains the underlying O(n!) complexity, and presents a simplified implementation that eliminates the issue and has been merged into the official Spark codebase.

CPU optimizationSparkcompatiblePartitions
0 likes · 7 min read
Why Spark’s compatiblePartitions Causes CPU Spikes and How to Fix It
Liangxu Linux
Liangxu Linux
Aug 14, 2022 · Databases

Master 10 Advanced SQL Concepts for Data Science Interviews

This guide walks you through ten essential advanced SQL techniques—including CTEs, recursive queries, temporary functions, CASE pivots, EXCEPT vs NOT IN, self‑joins, ranking window functions, delta calculations, running totals, and date‑time manipulation—providing clear explanations and practical code examples to boost your interview performance.

Advanced QueriesCTEData Science Interviews
0 likes · 12 min read
Master 10 Advanced SQL Concepts for Data Science Interviews
21CTO
21CTO
Jul 27, 2022 · Databases

Master 10 Essential Advanced SQL Concepts for Data Professionals

This article presents ten crucial intermediate‑to‑advanced SQL techniques—including CTEs, recursive CTEs, temporary functions, CASE‑WHEN pivots, EXCEPT vs NOT IN, self‑joins, ranking window functions, delta calculations, cumulative sums, and date‑time manipulation—to help data professionals ace interview questions and write cleaner, more powerful queries.

CTEInterview Preparationdata analysis
0 likes · 11 min read
Master 10 Essential Advanced SQL Concepts for Data Professionals
Open Source Linux
Open Source Linux
Jul 22, 2022 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article reviews SQLite's 2018 enhancements, covering Boolean literals, window functions, the FILTER clause, upsert support, column renaming, and related API changes, while highlighting limitations and compatibility notes compared with other major databases.

Boolean LiteralsSQL featuresSQLite
0 likes · 12 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Top Architect
Top Architect
Jul 21, 2022 · Databases

Overview of SQLite’s New SQL Features in 2018 (Versions 3.22.0–3.26.0)

The article explains SQLite’s 2018 enhancements—including boolean literals, window functions, FILTER clause, UPSERT syntax, and column‑renaming—detailing how these features work, their syntax, limitations, and providing code examples for developers seeking to use SQLite in production environments.

Database FeaturesFILTER clauseSQLite
0 likes · 10 min read
Overview of SQLite’s New SQL Features in 2018 (Versions 3.22.0–3.26.0)
Python Programming Learning Circle
Python Programming Learning Circle
Jul 20, 2022 · Databases

10 Essential SQL Concepts for Interview Preparation

This article presents ten core SQL techniques—including CTEs, recursive CTEs, temporary functions, CASE WHEN pivots, EXCEPT vs NOT IN, self‑joins, ranking window functions, delta calculations, cumulative sums, and date‑time manipulation—each explained with clear descriptions and practical query examples to help candidates ace data‑analysis interviews.

CASE WHENCTESelf Join
0 likes · 11 min read
10 Essential SQL Concepts for Interview Preparation
MaGe Linux Operations
MaGe Linux Operations
Jul 15, 2022 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

SQLite, often underestimated, introduced several powerful SQL enhancements in 2018—including boolean literals, window functions, FILTER clauses, UPSERT syntax, and column renaming—bringing its capabilities closer to major RDBMSes while retaining its lightweight, file‑based design.

Boolean LiteralsDatabase FeaturesSQLite
0 likes · 11 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Liangxu Linux
Liangxu Linux
Jul 14, 2022 · Databases

What New SQL Features Did SQLite Add in 2018?

This article reviews the SQLite SQL enhancements introduced between versions 3.22.0 and 3.26.0 in 2018, covering boolean literals, window functions, FILTER clauses, UPSERT syntax, column renaming, and related API changes with code examples and practical notes.

SQLiteUpsertfeatures
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018?
Programmer DD
Programmer DD
Jul 5, 2022 · Databases

SQLite 2018: New SQL Features – Booleans, Window Functions, Upserts & More

SQLite, often underestimated, has added powerful SQL capabilities in 2018—including true/false literals, advanced boolean checks, window functions, FILTER clauses, upsert support via INSERT ON CONFLICT, and column renaming—bringing its feature set closer to major databases while retaining its lightweight, file‑based architecture.

Boolean LiteralsSQLiteUpsert
0 likes · 12 min read
SQLite 2018: New SQL Features – Booleans, Window Functions, Upserts & More
dbaplus Community
dbaplus Community
Jun 28, 2022 · Databases

Master 10 Advanced SQL Concepts Every Data Scientist Should Know

This article presents ten essential advanced SQL techniques—including CTEs, recursive CTEs, temporary functions, CASE‑WHEN pivots, EXCEPT vs NOT IN, self‑joins, ranking windows, delta calculations, cumulative totals, and date‑time manipulation—each explained with clear examples and code snippets for interview preparation.

CASE WHENCTEData Science Interviews
0 likes · 11 min read
Master 10 Advanced SQL Concepts Every Data Scientist Should Know
Alibaba Cloud Developer
Alibaba Cloud Developer
Feb 14, 2022 · Backend Development

How Kuaishou Boosted Flink SQL Performance with Window Extensions and State Optimizations

Kuaishou dramatically increased Flink SQL adoption, introduced Group Window Aggregate and Window TVF extensions, applied aggregation state reuse and mini‑batch techniques, and enhanced stability through data‑skew mitigation and aggregate‑state compatibility, outlining future plans for streaming and batch SQL improvements.

FlinkState Optimizationsql
0 likes · 19 min read
How Kuaishou Boosted Flink SQL Performance with Window Extensions and State Optimizations
Big Data Technology & Architecture
Big Data Technology & Architecture
Sep 11, 2021 · Big Data

Deep Dive into Flink Table & SQL Window Functions, UDFs, and Hive Integration

This article provides a comprehensive guide to Flink Table and SQL window semantics—including group, tumbling, sliding, and session windows—covers over windows, demonstrates how to define windows in SQL, explains built‑in functions, shows how to implement scalar, table, aggregate and table‑aggregate UDFs, and details Flink's integration with Hive, complete with Maven dependencies and runnable examples.

FlinkHive IntegrationTable API
0 likes · 27 min read
Deep Dive into Flink Table & SQL Window Functions, UDFs, and Hive Integration
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 10, 2021 · Databases

Inside MySQL 8.0 Optimizer: From SQL String to Execution Plan

This article walks through MySQL 8.0’s SQL optimizer, explaining how a raw SQL statement is parsed, transformed, and optimized through stages such as Setup, Resolve, Derived‑table merging, materialization, window‑function handling, and ROLLUP processing, illustrated with diagrams and code examples.

Query ExecutionRollupSQL Optimizer
0 likes · 20 min read
Inside MySQL 8.0 Optimizer: From SQL String to Execution Plan
IT Xianyu
IT Xianyu
Aug 17, 2021 · Databases

Key New Features of MySQL 8.0 for Relational Databases

MySQL 8.0 introduces several relational‑database enhancements, including invisible indexes for performance tuning, persistent configuration via SET PERSIST, default utf8mb4 character set, support for Common Table Expressions, and window functions, each illustrated with practical SQL examples.

8.0CTEdatabase
0 likes · 7 min read
Key New Features of MySQL 8.0 for Relational Databases
DataFunTalk
DataFunTalk
Feb 7, 2021 · Big Data

Optimizations and Extensions for Flink SQL in Tencent Real‑Time Computing Platform

This article, presented by Tencent senior engineer Du Li, details the current state of Flink SQL, compares Jar, Canvas, and SQL modes, introduces window‑function extensions, retract‑stream optimizations, and outlines future roadmap plans for cost‑based optimization and new features in the real‑time computing platform.

Big DataFlinkRetract Stream
0 likes · 19 min read
Optimizations and Extensions for Flink SQL in Tencent Real‑Time Computing Platform
Practical DevOps Architecture
Practical DevOps Architecture
Jan 4, 2021 · Databases

New MySQL 8 Features: Invisible Indexes, Persistent Settings, UTF8MB4, CTEs, and Window Functions

This article introduces several MySQL 8 enhancements—including invisible indexes for performance testing, the SET PERSIST command for durable configuration changes, default UTF8MB4 encoding, Common Table Expressions for clearer queries, and window functions for ranking and aggregation—illustrated with practical SQL examples.

CTEindexesmysql
0 likes · 6 min read
New MySQL 8 Features: Invisible Indexes, Persistent Settings, UTF8MB4, CTEs, and Window Functions
Architecture Digest
Architecture Digest
Oct 11, 2020 · Databases

Understanding the Execution Order of SQL Queries

This article explains why SQL queries do not start with SELECT, outlines the typical logical execution order of clauses such as FROM, WHERE, GROUP BY, HAVING, SELECT, ORDER BY, and LIMIT, and discusses how database engines may reorder operations for optimization, with code examples and comparisons to LINQ and pandas.

LINQQuery Executiondatabases
0 likes · 6 min read
Understanding the Execution Order of SQL Queries
Java Backend Technology
Java Backend Technology
Jun 20, 2020 · Databases

What’s the Real Execution Order of SQL Queries? A Visual Guide

Although most SQL statements begin with SELECT, the actual execution follows a specific order—WHERE, GROUP BY, HAVING, then SELECT—illustrated by a diagram that also clarifies common misconceptions about filtering window functions, column aliases, and how databases may reorder operations for optimization.

LINQQuery Executiondatabase
0 likes · 6 min read
What’s the Real Execution Order of SQL Queries? A Visual Guide
ITPUB
ITPUB
Jun 19, 2020 · Databases

Mastering SQL Analytic Functions: Windows, PARTITION, ROWS vs RANGE Explained

This guide explains how SQL analytic (window) functions work, covering the concepts of current row, logical and physical windows, PARTITION, ORDER BY, the differences between ROWS and RANGE, window clause variations, and their advantages and drawbacks.

Analytic FunctionsOracledatabases
0 likes · 12 min read
Mastering SQL Analytic Functions: Windows, PARTITION, ROWS vs RANGE Explained
HomeTech
HomeTech
Mar 11, 2020 · Big Data

Streaming SQL with Apache Flink: Theory, Platform Optimizations, and Real‑Time Use Cases

This article introduces Apache Flink's Streaming SQL, explains its theoretical foundations such as the table‑stream relationship and watermark semantics, describes the platform's practical enhancements—including source/sink wrappers, built‑in functions, and native Retract Stream support—and showcases several real‑time computation examples.

Apache FlinkDataStreamReal‑Time Computing
0 likes · 31 min read
Streaming SQL with Apache Flink: Theory, Platform Optimizations, and Real‑Time Use Cases
Java Captain
Java Captain
Oct 28, 2019 · Databases

Understanding the Execution Order of SQL Queries

The article explains that SQL queries are not executed in the order written—SELECT is evaluated fifth after FROM, WHERE, GROUP BY, and HAVING—illustrates this logical sequence with diagrams, discusses alias handling, optimizer reordering, and shows comparable patterns in LINQ, pandas, and dplyr.

Query Executiondatabasesoptimization
0 likes · 6 min read
Understanding the Execution Order of SQL Queries
Qunar Tech Salon
Qunar Tech Salon
Aug 13, 2019 · Databases

Efficient Deduplication of Large MySQL Tables Using Indexes, Variables, and Window Functions

This article demonstrates how to efficiently remove duplicate rows from a million‑record MySQL table by comparing created_time and item_name, exploring various approaches such as correlated subqueries, joins, user‑defined variables, index optimization, window functions, and parallel execution with shell scripts and MySQL events to achieve significant performance gains.

Parallel ExecutionSQL Performancededuplication
0 likes · 21 min read
Efficient Deduplication of Large MySQL Tables Using Indexes, Variables, and Window Functions
Youzan Coder
Youzan Coder
Apr 29, 2019 · Big Data

Optimizing Flink Sliding Windows for Super Long Time Ranges

To overcome severe performance degradation of Flink sliding windows over very long time ranges, Youzan engineers applied time‑slicing based on the greatest common divisor of window length and slide step, reducing state writes and timers, which yielded 3‑8× speedups in production.

Big DataFlinkReal-time Processing
0 likes · 18 min read
Optimizing Flink Sliding Windows for Super Long Time Ranges
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 19, 2019 · Big Data

Comprehensive Overview of SQL and Apache Flink SQL Features with Practical Code Examples

This article provides an in-depth introduction to SQL, its history and ANSI standards, then details Apache Flink's SQL capabilities—including SELECT, WHERE, GROUP BY, UNION, JOIN, window functions, and user-defined functions—accompanied by extensive code examples and a complete end‑to‑end Flink job implementation.

Apache FlinkBig DataStreaming
0 likes · 34 min read
Comprehensive Overview of SQL and Apache Flink SQL Features with Practical Code Examples
dbaplus Community
dbaplus Community
Oct 16, 2018 · Databases

Master MySQL Window Functions: From Basics to Advanced Use Cases

This tutorial explains why and how to use MySQL window functions, covering their concepts, syntax, various function families, practical examples such as ranking, distribution, lead/lag, first/last, and aggregations within dynamic windows, plus detailed SQL snippets and visual illustrations.

Analyticsdatabasemysql
0 likes · 13 min read
Master MySQL Window Functions: From Basics to Advanced Use Cases
dbaplus Community
dbaplus Community
Aug 20, 2018 · Databases

Unlock PostgreSQL’s Powerful SQL Features: CTEs, UPSERT, Sampling, and More

This article explores PostgreSQL’s advanced SQL capabilities—including Common Table Expressions (WITH), batch inserts, the RETURNING clause, UPSERT with ON CONFLICT, TABLESAMPLE methods, aggregation functions like string_agg and array_agg, and a range of window functions—providing practical examples, performance insights, and guidance for real‑world use.

CTETable SamplingUpsert
0 likes · 17 min read
Unlock PostgreSQL’s Powerful SQL Features: CTEs, UPSERT, Sampling, and More
21CTO
21CTO
Mar 14, 2018 · Databases

Unlock Faster Queries: Master Window Functions and CTEs in MySQL & MariaDB

Both MySQL 8 and MariaDB 10.2 introduce robust window functions and Common Table Expressions (CTEs), enabling developers to write more efficient, maintainable queries; this article explains their syntax, demonstrates practical examples, compares implementations, and highlights performance and readability benefits across popular database systems.

CTEMariaDBmysql
0 likes · 13 min read
Unlock Faster Queries: Master Window Functions and CTEs in MySQL & MariaDB
ITPUB
ITPUB
Aug 29, 2016 · Databases

How to Efficiently Retrieve Top N Rows per Group in PostgreSQL

This article explains how to extract the top N records for each group in PostgreSQL, compares the slow window‑function approach with a fast recursive‑CTE and set‑returning function solution, and shows performance results dropping from over 20 seconds to under half a second.

Top N per grouppostgresqlrecursive-cte
0 likes · 8 min read
How to Efficiently Retrieve Top N Rows per Group in PostgreSQL