Computing Library › Glossary
Glossary

SQL

A declarative language for querying and manipulating data in relational databases.

Definition

SQL (Structured Query Language) is the standard language for working with relational databases. It is declarative: the user states what data is wanted, and the database engine decides how to retrieve it efficiently.

A query optimizer chooses among many possible execution plans, and its decisions, which index to use, how to order joins, can change performance by orders of magnitude. Understanding how indexes support queries is the main lever a practitioner has over speed.

SQL's declarative nature is its lasting advantage: the user specifies the desired result and the query optimizer chooses how to compute it, a division of labor that has survived decades of hardware change. Performance in practice depends heavily on indexing and on how the optimizer plans joins, so understanding how indexes support queries, and reading query plans, is the main skill through which a practitioner influences speed.

Core operations

Why it matters

SQL has endured for decades because its declarative model lets the engine optimize execution, and its relational foundation is mathematically sound. Understanding it is essential for anyone working with structured data at scale.

Fusion connection

Analysts query the Kronos simulation catalog with SQL to select the subset of Hyperion cases meeting given physical criteria for closer study.