Tagged articles
4 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Aug 30, 2023 · Databases

Understanding SQL Execution Order: From FROM to LIMIT Explained

This article walks through the exact sequence a database follows when executing a SQL query—starting with FROM and JOIN, then WHERE, GROUP BY, HAVING, SELECT, DISTINCT, ORDER BY, and finally LIMIT—highlighting key differences from the textual order of the statement.

DatabaseExecution OrderSQL
0 likes · 5 min read
Understanding SQL Execution Order: From FROM to LIMIT Explained
IT Services Circle
IT Services Circle
Feb 4, 2022 · Fundamentals

Understanding the Execution Order of Static Blocks, Instance Blocks, Constructors, and Regular Code Blocks in Java

This article explains the definition, execution timing, and practical uses of Java static code blocks, instance (constructor) code blocks, constructors, and regular code blocks, and demonstrates their exact execution order—including parent‑child class initialization—through clear code examples and output analysis.

Code BlocksConstructorsExecution Order
0 likes · 8 min read
Understanding the Execution Order of Static Blocks, Instance Blocks, Constructors, and Regular Code Blocks in Java
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 OrderIndexesSQL Server
0 likes · 16 min read
Mastering SQL Server: Understanding Query Execution Order and Optimization Tips