What does SQL stand for?

Meaning and background of SQL
Full formStructured Query Language
CategoryTechnology & computing
TypeAbbreviation

The abbreviation SQL stands for Structured Query Language. It is a language for working with data in relational databases.

This guide covers the database language. SQL is not the name of one database product. Different database systems support their own features and dialects, so a query that works in one system may need changes in another.

SQL — Structured Query Language; Technology & computing
Original reference card by AcronymIndex.

Meaning in context

Structured
The language expresses operations through statements with a defined syntax.
Query
A SELECT statement can retrieve specified columns and rows. SQL also supports operations beyond reading data.
Language
SQL is the language; a database system such as PostgreSQL implements it. The product and the language are different things.

Practical examples

Name the language and system

Before
Our database is SQL.
After
Our application uses PostgreSQL and queries its data with SQL.

Specify columns

Before
SELECT * FROM products;
After
SELECT name, price FROM products;

Restrict the result

Before
Get the product names with SQL.
After
SELECT name FROM products WHERE price < 20;

Original illustrative examples, not quotations or reports of actual events.

Put SQL into practice

How do I describe or write a simple SQL query without confusing it with the database?

See all guidance

Name the language and system

Name the database product separately from SQL.

Our application uses PostgreSQL and queries its data with SQL.

Specify columns

List the columns you need and check that they exist in the chosen table.

SELECT name, price FROM products;

Restrict the result

State the selection condition and check the meaning of values in your own schema.

SELECT name FROM products WHERE price < 20;

These are illustrative examples. The tool prepares text in your browser; it does not connect to a service or execute code.

Build a simple SELECT statement

Enter an existing table name and comma-separated column names. This exercise uses PostgreSQL-style quoted identifiers. It builds text only and does not connect to a database or check your schema. Quoted names match exact case. Use simple names starting with a letter or underscore; enter the identifiers exactly as they exist in your database.

Your inputs stay in this browser. Confirm the details before using this example.

Help improve this entry

Spot a mistake or have a clearer example? Suggest a change.

Become a contributor

By AcronymIndex Editorial Team · Editorial policy

Copy this text

Select the text below and copy it.

Suggest an edit

Help the team improve this entry. Suggestions are reviewed before publication.

Fields marked * are required. Please leave out sensitive personal information.

Paste the specific wording, or select text in an entry before opening this form.

Tell us what to replace or add, and why it would help the reader.

An official organization, original document or other reliable reference, if relevant.

Your draft stays in this tab until you choose an email action. How we handle your information