Glossary
SQL
ess-kyoo-EL or SEE-kwul
The standard language for reading and changing data in relational databases.
SQL (Structured Query Language) is the language for working with relational databases like PostgreSQL, MySQL and SQLite. You can say it as letters, “S-Q-L,” or as “sequel.” Both are common.
Example
SELECT name, email
FROM users
WHERE subscribed = true
ORDER BY created_at DESC;
The basics
SELECT: read data.INSERT: add rows.UPDATE: change rows.DELETE: remove rows.
Why it matters
Almost every app stores data in a database, and SQL has been the standard for decades. Never build queries by gluing user input into strings. Use parameterized queries to avoid SQL injection, the database cousin of prompt injection.