Glossary · Database

SQL

Structured Query Language–the standard programming language for managing and querying relational databases.

SQL (Structured Query Language) is the standard language for interacting with relational database management systems (RDBMS). It encompasses several sub-languages: DDL (Data Definition Language) for creating and modifying structures, DML (Data Manipulation Language) for querying and modifying data, DCL (Data Control Language) for permissions, and TCL (Transaction Control Language) for transaction management. SQL supports complex operations including joins across multiple tables, aggregations, subqueries, window functions, common table expressions (CTEs), and set operations. While the SQL standard (ISO/IEC 9075) defines core syntax, each database vendor adds proprietary extensions.

In practice

How AI for Database applies it

AI for Database generates SQL for you. Just ask a question and get the result–or view the generated SQL to learn and verify.
Database · aifordatabase glossaryRead-only ✓

Fig — every answer ships with the tables, rows and SQL behind it.

See it on your own database

Connect read-only in minutes. Free models included.

Start free