Data & Analytics

What is SQL?

Quick answer

Structured Query Language: the standard language for storing, querying, and managing data in relational databases.

SQL, explained

SQL lets you describe what data you want, and the database figures out how to get it. Core commands include SELECT to read data, INSERT to add rows, UPDATE to change them, and DELETE to remove them. JOIN combines related tables, for example linking orders to the customers who placed them, while GROUP BY with functions like COUNT and SUM produces summaries.

SQL was developed at IBM in the 1970s and is supported by databases such as PostgreSQL, MySQL, SQLite, Microsoft SQL Server, and Oracle, as well as cloud data warehouses. Each system adds its own extensions, but the fundamentals are shared. SQL remains one of the most valuable skills for analysts, developers, and data engineers.

Related terms

Guides that mention SQL