Tagged articles
6 articles
Page 1 of 1
IT Xianyu
IT Xianyu
Apr 18, 2025 · Databases

Comprehensive Guide to SQL Basics, Advanced Queries, and Performance Optimization

This article provides a thorough tutorial on SQL fundamentals, including statement order, core clause rules, templates for SELECT/INSERT/UPDATE/DELETE, practical multi‑table query cases, join and subquery techniques, common pitfalls, index optimization strategies, experimental performance data, and a structured learning path for mastering database development.

JoinsSQLSubqueries
0 likes · 7 min read
Comprehensive Guide to SQL Basics, Advanced Queries, and Performance Optimization
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 AlgebraSQL
0 likes · 46 min read
Why SQL Still Dominates Data Analysis: From Relational Algebra to Modern OLAP
dbaplus Community
dbaplus Community
Aug 11, 2022 · Databases

5 Essential Rules for Writing High‑Performance SQL Queries

This article presents five practical rules—return only needed columns, use proper indexes, avoid subqueries, replace OFFSET pagination with key‑based limits, and understand SQL's logical execution order—to help developers craft efficient SQL statements across major relational databases.

SQLSubqueriesdatabases
0 likes · 13 min read
5 Essential Rules for Writing High‑Performance SQL Queries
ITPUB
ITPUB
Nov 30, 2020 · Databases

How to Fix Common MySQL Performance Pitfalls: Real-World SQL Optimizations

This article examines frequent MySQL performance problems such as inefficient LIMIT usage, implicit type conversion, subquery updates, mixed ordering, EXISTS clauses, predicate push‑down, early row reduction, and intermediate result set handling, providing concrete rewrites and execution‑plan comparisons that dramatically improve query speed.

Query PlanningSQL OptimizationSubqueries
0 likes · 14 min read
How to Fix Common MySQL Performance Pitfalls: Real-World SQL Optimizations
Top Architect
Top Architect
Sep 8, 2020 · Databases

Understanding MySQL EXPLAIN Output and Query Optimization

This article explains how MySQL generates execution plans using EXPLAIN, details the meaning of each column such as id, select_type, table, type, possible_keys, key, rows, and Extra, and demonstrates how to interpret and improve query performance through examples and code snippets.

Subqueriesexplainquery-optimization
0 likes · 29 min read
Understanding MySQL EXPLAIN Output and Query Optimization
ITPUB
ITPUB
Mar 2, 2017 · Databases

Mastering SQL Server: Understanding Query Execution Order and Optimization Tips

This article explains SQL Server's logical query execution sequence, details the physical step‑by‑step processing, and provides practical optimization advice such as avoiding SELECT *, using proper indexes, handling temporary tables, rewriting subqueries, and safely managing transactions to improve performance and maintainability.

Execution OrderSQL ServerSubqueries
0 likes · 16 min read
Mastering SQL Server: Understanding Query Execution Order and Optimization Tips