🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Databases Beginner

What is SQL?

Structured Query Language — the standard language for managing and querying data in relational databases.

SQL is used to create, read, update, and delete data in relational databases. Key statements include SELECT (query), INSERT (add), UPDATE (modify), DELETE (remove), CREATE TABLE, and ALTER TABLE.

SQL supports complex operations like JOINs (combining tables), GROUP BY (aggregation), subqueries, transactions, and views. Major SQL databases include PostgreSQL, MySQL, SQL Server, and Oracle.

Related Terms

Index
A data structure that improves the speed of data retrieval operations on database tables at the cost of additional storage.
View
A virtual table defined by a SQL query that provides a simplified or restricted view of data from one or more tables.
Database Index Types
Different index structures (B-tree, Hash, GIN, GiST, BRIN) optimized for various query patterns and data types.
Foreign Key
A column that creates a link between two tables by referencing the primary key of another table.
Soft Delete
A pattern where records are marked as deleted with a flag or timestamp rather than being physically removed from the database.
Partitioning
A technique of dividing large database tables into smaller, more manageable segments while maintaining a single logical table.
View All Databases Terms →